pub struct NodeConstraints {
pub max_duration_ms: Option<u64>,
pub no_credential_access: bool,
pub no_execution_authority: bool,
pub no_network_access: bool,
}Fields§
§max_duration_ms: Option<u64>§no_credential_access: bool§no_network_access: boolTrait Implementations§
Source§impl Clone for NodeConstraints
impl Clone for NodeConstraints
Source§fn clone(&self) -> NodeConstraints
fn clone(&self) -> NodeConstraints
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NodeConstraints
impl Debug for NodeConstraints
Source§impl<'de> Deserialize<'de> for NodeConstraints
impl<'de> Deserialize<'de> for NodeConstraints
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NodeConstraints
impl RefUnwindSafe for NodeConstraints
impl Send for NodeConstraints
impl Sync for NodeConstraints
impl Unpin for NodeConstraints
impl UnsafeUnpin for NodeConstraints
impl UnwindSafe for NodeConstraints
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more