#[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>,
}Expand description
The system commit options. peers, which carries user credentials, is not extracted.
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.
Trait Implementations§
impl Eq for Commit
impl StructuralPartialEq for Commit
Auto Trait Implementations§
impl Forget for Commit
impl Freeze for Commit
impl Move for Commit
impl RefUnwindSafe for Commit
impl Send for Commit
impl Sync for Commit
impl Unpin for Commit
impl UnsafeUnpin for Commit
impl UnwindSafe for Commit
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