pub struct Policy {
pub commit: CommitModel,
pub branch: BranchModel,
pub check: CheckModel,
pub push: PushModel,
pub release: ReleaseModel,
pub ai: AiModel,
pub changelog: ChangelogModel,
pub hooks: HooksModel,
pub versioning: VersioningModel,
}Fields§
§commit: CommitModel§branch: BranchModel§check: CheckModel§push: PushModel§release: ReleaseModel§ai: AiModel§changelog: ChangelogModel§hooks: HooksModel§versioning: VersioningModelImplementations§
Source§impl Policy
impl Policy
pub fn from_config(config: &ResolvedConfig) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Policy
impl RefUnwindSafe for Policy
impl Send for Policy
impl Sync for Policy
impl Unpin for Policy
impl UnsafeUnpin for Policy
impl UnwindSafe for Policy
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