#[non_exhaustive]pub struct Commit {
pub synchronize: bool,
pub fast_synchronize: bool,
pub peers_synchronize: bool,
pub commit_synchronize_server: bool,
pub config_sync_with_scp: bool,
pub delta_export: bool,
pub force_commit_log: bool,
pub notification: bool,
pub server: bool,
pub persist_groups_inheritance: Option<bool>,
pub peers: Vec<CommitPeer>,
pub server_options: Option<CommitServer>,
}Expand description
The system commit options. The server flag also covers a server { ... } block, read into
server_options.
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.synchronize: bool§fast_synchronize: bool§peers_synchronize: bool§commit_synchronize_server: bool§config_sync_with_scp: bool§delta_export: bool§force_commit_log: bool§notification: bool§server: bool§persist_groups_inheritance: Option<bool>Some(true) for persist-groups-inheritance, Some(false) for
no-persist-groups-inheritance.
peers: Vec<CommitPeer>§server_options: Option<CommitServer>The batch commit server statement; every option is unset for a bare server;.
Trait Implementations§
impl Eq for Commit
impl StructuralPartialEq for Commit
Auto Trait Implementations§
impl Forget for Commit
impl Freeze for Commitwhere
*const u8 is !null: Freeze,
PhantomData<CommitPeer>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<TraceFlag>: Freeze,
impl Move for Commit
impl RefUnwindSafe for Commit
impl Send for Commitwhere
RawVecInner: Send,
impl Sync for Commitwhere
RawVecInner: Sync,
impl Unpin for Commit
impl UnsafeUnpin for Commitwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<CommitPeer>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<TraceFlag>: UnsafeUnpin,
impl UnwindSafe for Commitwhere
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