pub struct Registration {
pub identity: String,
pub alias: String,
pub checkout: PathBuf,
pub gate: String,
pub policy: ResolvedPolicy,
pub coverage: MergePathCoverage,
}Expand description
What onevcs register recorded, and what the identity it recorded publishes
under.
Fields§
§identity: StringThe identity key the checkout’s origin normalized to.
alias: StringThe alias the checkout is addressed by.
checkout: PathBufThe publication checkout the identity resolves to.
gate: StringThe command this repository states as its complete bar.
policy: ResolvedPolicyThe policy the identity publishes under, as its rules resolve it.
coverage: MergePathCoverageWhat runs a gate on the identity’s merge path — and
MergePathCoverage::None for one where nothing does, which is the state a
caller warns about.
Trait Implementations§
Source§impl Clone for Registration
impl Clone for Registration
Source§impl Debug for Registration
impl Debug for Registration
impl Eq for Registration
Source§impl PartialEq for Registration
impl PartialEq for Registration
impl StructuralPartialEq for Registration
Auto Trait Implementations§
impl Freeze for Registration
impl RefUnwindSafe for Registration
impl Send for Registration
impl Sync for Registration
impl Unpin for Registration
impl UnsafeUnpin for Registration
impl UnwindSafe for Registration
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.