pub struct NodeControlConfig {
pub enabled: bool,
pub auth_token: Option<String>,
pub allowed_node_ids: Vec<String>,
}Fields§
§enabled: bool§auth_token: Option<String>§allowed_node_ids: Vec<String>Trait Implementations§
Source§impl Clone for NodeControlConfig
impl Clone for NodeControlConfig
Source§fn clone(&self) -> NodeControlConfig
fn clone(&self) -> NodeControlConfig
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 NodeControlConfig
impl Debug for NodeControlConfig
Source§impl Default for NodeControlConfig
impl Default for NodeControlConfig
Source§fn default() -> NodeControlConfig
fn default() -> NodeControlConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NodeControlConfigwhere
NodeControlConfig: Default,
impl<'de> Deserialize<'de> for NodeControlConfigwhere
NodeControlConfig: Default,
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 NodeControlConfig
impl RefUnwindSafe for NodeControlConfig
impl Send for NodeControlConfig
impl Sync for NodeControlConfig
impl Unpin for NodeControlConfig
impl UnsafeUnpin for NodeControlConfig
impl UnwindSafe for NodeControlConfig
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