pub struct PushModel {
pub allow_protected: bool,
pub allow_force_override: bool,
pub check_commits: bool,
pub check_branch_policy: bool,
}Fields§
§allow_protected: bool§allow_force_override: bool§check_commits: bool§check_branch_policy: boolImplementations§
Source§impl PushModel
impl PushModel
pub fn from_config(config: &ResolvedConfig) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PushModel
impl RefUnwindSafe for PushModel
impl Send for PushModel
impl Sync for PushModel
impl Unpin for PushModel
impl UnsafeUnpin for PushModel
impl UnwindSafe for PushModel
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