pub struct TrunkGuards<'a> {
pub integration: Integration,
pub trunk_commit: &'a str,
pub trunk_push: &'a str,
pub sweep_skip: &'a str,
pub sweep_none: &'a str,
pub integrate_note: &'a str,
}Expand description
The two authored guard entries the integration mode selects between, beside the mode itself.
Fields§
§integration: IntegrationWhich authority moves an implementation onto the trunk.
trunk_commit: &'a strThe no-commit-to-branch entry that refuses a trunk commit.
trunk_push: &'a strThe rk-no-push-to-trunk entry that refuses a trunk push.
sweep_skip: &'a strThe header note naming what a CI sweep skips.
sweep_none: &'a strThe header note for the pairing where a sweep skips nothing.
integrate_note: &'a strThe header note naming the pre-integrate contract.
Auto Trait Implementations§
impl<'a> Freeze for TrunkGuards<'a>
impl<'a> RefUnwindSafe for TrunkGuards<'a>
impl<'a> Send for TrunkGuards<'a>
impl<'a> Sync for TrunkGuards<'a>
impl<'a> Unpin for TrunkGuards<'a>
impl<'a> UnsafeUnpin for TrunkGuards<'a>
impl<'a> UnwindSafe for TrunkGuards<'a>
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