pub enum OwnerCheck {
FirstUse,
Match,
Mismatch,
}Expand description
The verdict of comparing an authenticated account against a library’s owner.
Variants§
FirstUse
The library is not pinned yet, so it can be adopted (trust-on-first-use).
Match
The authenticated account owns this library.
Mismatch
The authenticated account differs from the pinned owner.
Trait Implementations§
Source§impl Clone for OwnerCheck
impl Clone for OwnerCheck
Source§fn clone(&self) -> OwnerCheck
fn clone(&self) -> OwnerCheck
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 OwnerCheck
Source§impl Debug for OwnerCheck
impl Debug for OwnerCheck
impl Eq for OwnerCheck
Source§impl PartialEq for OwnerCheck
impl PartialEq for OwnerCheck
Source§fn eq(&self, other: &OwnerCheck) -> bool
fn eq(&self, other: &OwnerCheck) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OwnerCheck
Auto Trait Implementations§
impl Freeze for OwnerCheck
impl RefUnwindSafe for OwnerCheck
impl Send for OwnerCheck
impl Sync for OwnerCheck
impl Unpin for OwnerCheck
impl UnsafeUnpin for OwnerCheck
impl UnwindSafe for OwnerCheck
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