pub struct RulesCheck {
pub identity: String,
pub checkout: PathBuf,
pub rules: String,
pub matched: Option<MatchedRule>,
pub policy: ResolvedPolicy,
pub trailer_prefix: String,
pub trailer_prefix_source: TrailerPrefixSource,
}Expand description
How one repository resolves against this host’s rules.
Fields§
§identity: StringThe identity key the argument selected.
checkout: PathBufThe publication checkout a path: rule is matched against.
rules: StringWhere the rules came from: the file that was read, or the built-in default.
matched: Option<MatchedRule>The rule that decided it, where one did; none means the default applies.
policy: ResolvedPolicyWhat it resolved to.
trailer_prefix: StringThe git trailer key provenance is written and read under.
trailer_prefix_source: TrailerPrefixSourceWhat set that prefix. It is not part of the matched policy: one vocabulary reads and writes every repository’s provenance, so it is resolved once, from the file or the default.
Trait Implementations§
Source§impl Clone for RulesCheck
impl Clone for RulesCheck
Source§impl Debug for RulesCheck
impl Debug for RulesCheck
impl Eq for RulesCheck
Source§impl PartialEq for RulesCheck
impl PartialEq for RulesCheck
impl StructuralPartialEq for RulesCheck
Auto Trait Implementations§
impl Freeze for RulesCheck
impl RefUnwindSafe for RulesCheck
impl Send for RulesCheck
impl Sync for RulesCheck
impl Unpin for RulesCheck
impl UnsafeUnpin for RulesCheck
impl UnwindSafe for RulesCheck
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.