pub enum Trust {
Unverified,
Verified,
Contested,
Retracted,
}Variants§
Implementations§
Source§impl Trust
impl Trust
pub fn from_field(value: Option<&str>) -> Self
pub fn is_actionable(self) -> bool
pub fn is_disputed(self) -> bool
pub fn priority_delta(self) -> f32
pub fn as_str(self) -> &'static str
Trait Implementations§
impl Copy for Trust
impl Eq for Trust
impl StructuralPartialEq for Trust
Auto Trait Implementations§
impl Freeze for Trust
impl RefUnwindSafe for Trust
impl Send for Trust
impl Sync for Trust
impl Unpin for Trust
impl UnsafeUnpin for Trust
impl UnwindSafe for Trust
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