pub enum Provenance {
Na,
Established,
Literal,
Opaque,
}Expand description
How the acted-on remote target was DESIGNATED — a trust ladder, orthogonal to
RemoteReach (breadth: one host vs any) and RemoteBinding (visibility: on the CLI
vs from session). Trust in a destination follows its provenance: what makes git push
safe is that the target is a pre-established root, not that data leaves. The
destination-aware resolver assigns it from the target argument (we do not read
.git/config); see behavioral-taxonomy-exposure.md §4.
Variants§
Trait Implementations§
Source§impl Clone for Provenance
impl Clone for Provenance
Source§fn clone(&self) -> Provenance
fn clone(&self) -> Provenance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Provenance
Source§impl Debug for Provenance
impl Debug for Provenance
Source§impl Default for Provenance
impl Default for Provenance
Source§fn default() -> Provenance
fn default() -> Provenance
Returns the “default value” for a type. Read more
impl Eq for Provenance
Source§impl FacetTerm for Provenance
impl FacetTerm for Provenance
Source§impl Hash for Provenance
impl Hash for Provenance
Source§impl Ord for Provenance
impl Ord for Provenance
Source§fn cmp(&self, other: &Provenance) -> Ordering
fn cmp(&self, other: &Provenance) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Provenance
impl PartialEq for Provenance
Source§impl PartialOrd for Provenance
impl PartialOrd for Provenance
impl StructuralPartialEq for Provenance
Auto Trait Implementations§
impl Freeze for Provenance
impl RefUnwindSafe for Provenance
impl Send for Provenance
impl Sync for Provenance
impl Unpin for Provenance
impl UnsafeUnpin for Provenance
impl UnwindSafe for Provenance
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.