pub struct CommitProtectedModel {
pub allow: bool,
pub force: bool,
pub warn: bool,
}Fields§
§allow: bool§force: bool§warn: boolTrait Implementations§
Source§impl Clone for CommitProtectedModel
impl Clone for CommitProtectedModel
Source§fn clone(&self) -> CommitProtectedModel
fn clone(&self) -> CommitProtectedModel
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 moreAuto Trait Implementations§
impl Freeze for CommitProtectedModel
impl RefUnwindSafe for CommitProtectedModel
impl Send for CommitProtectedModel
impl Sync for CommitProtectedModel
impl Unpin for CommitProtectedModel
impl UnsafeUnpin for CommitProtectedModel
impl UnwindSafe for CommitProtectedModel
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