pub struct CheckModel {
pub require_conventional: bool,
pub commits_enabled: bool,
pub enforcement: CommitCheckEnforcement,
}Fields§
§require_conventional: bool§commits_enabled: bool§enforcement: CommitCheckEnforcementImplementations§
Source§impl CheckModel
impl CheckModel
pub fn from_config(config: &ResolvedConfig) -> Self
Trait Implementations§
Source§impl Clone for CheckModel
impl Clone for CheckModel
Source§fn clone(&self) -> CheckModel
fn clone(&self) -> CheckModel
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 moreSource§impl Debug for CheckModel
impl Debug for CheckModel
Auto Trait Implementations§
impl Freeze for CheckModel
impl RefUnwindSafe for CheckModel
impl Send for CheckModel
impl Sync for CheckModel
impl Unpin for CheckModel
impl UnsafeUnpin for CheckModel
impl UnwindSafe for CheckModel
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