pub struct NodeSection {
pub mode: NodeMode,
pub role: NodeRole,
}Fields§
§mode: NodeMode§role: NodeRoleTrait Implementations§
Source§impl Clone for NodeSection
impl Clone for NodeSection
Source§fn clone(&self) -> NodeSection
fn clone(&self) -> NodeSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NodeSection
impl Debug for NodeSection
Source§impl<'de> Deserialize<'de> for NodeSection
impl<'de> Deserialize<'de> for NodeSection
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 NodeSection
impl RefUnwindSafe for NodeSection
impl Send for NodeSection
impl Sync for NodeSection
impl Unpin for NodeSection
impl UnsafeUnpin for NodeSection
impl UnwindSafe for NodeSection
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