pub enum TrustFileInitStatus {
Created,
Updated,
Unchanged,
}Expand description
Outcome of initialize_repo_trust_file.
Variants§
Created
Wrote a new .ralph/trust.jsonc.
Updated
Updated an existing file (enabled trust or backfilled trusted_at).
Unchanged
File already marked the repo trusted; left unchanged on disk.
Trait Implementations§
Source§impl Clone for TrustFileInitStatus
impl Clone for TrustFileInitStatus
Source§fn clone(&self) -> TrustFileInitStatus
fn clone(&self) -> TrustFileInitStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrustFileInitStatus
impl Debug for TrustFileInitStatus
Source§impl PartialEq for TrustFileInitStatus
impl PartialEq for TrustFileInitStatus
impl Copy for TrustFileInitStatus
impl Eq for TrustFileInitStatus
impl StructuralPartialEq for TrustFileInitStatus
Auto Trait Implementations§
impl Freeze for TrustFileInitStatus
impl RefUnwindSafe for TrustFileInitStatus
impl Send for TrustFileInitStatus
impl Sync for TrustFileInitStatus
impl Unpin for TrustFileInitStatus
impl UnsafeUnpin for TrustFileInitStatus
impl UnwindSafe for TrustFileInitStatus
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> 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.