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§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