#[non_exhaustive]pub struct AutoSwSync {
pub node: String,
pub enabled: Option<bool>,
}Expand description
An auto-sw-sync node <name> statement.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.node: String§enabled: Option<bool>Some(true) for enable, Some(false) for disable.
Trait Implementations§
Source§impl Clone for AutoSwSync
impl Clone for AutoSwSync
Source§impl Debug for AutoSwSync
impl Debug for AutoSwSync
impl Eq for AutoSwSync
Source§impl PartialEq for AutoSwSync
impl PartialEq for AutoSwSync
impl StructuralPartialEq for AutoSwSync
Auto Trait Implementations§
impl Forget for AutoSwSync
impl Freeze for AutoSwSync
impl Move for AutoSwSync
impl RefUnwindSafe for AutoSwSync
impl Send for AutoSwSyncwhere
RawVecInner: Send,
impl Sync for AutoSwSyncwhere
RawVecInner: Sync,
impl Unpin for AutoSwSync
impl UnsafeUnpin for AutoSwSync
impl UnwindSafe for AutoSwSyncwhere
RawVecInner: UnwindSafe,
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