Struct crev_wot::trust_set::TrustedIdDetails
source · pub struct TrustedIdDetails {
pub distance: u64,
pub effective_trust_level: TrustLevel,
pub reported_by: HashMap<Id, TrustLevel>,
}
Expand description
Details of a one Id that is trusted
Fields§
§distance: u64
§effective_trust_level: TrustLevel
§reported_by: HashMap<Id, TrustLevel>
People that reported trust for this id
Trait Implementations§
source§impl Clone for TrustedIdDetails
impl Clone for TrustedIdDetails
source§fn clone(&self) -> TrustedIdDetails
fn clone(&self) -> TrustedIdDetails
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for TrustedIdDetails
impl RefUnwindSafe for TrustedIdDetails
impl Send for TrustedIdDetails
impl Sync for TrustedIdDetails
impl Unpin for TrustedIdDetails
impl UnwindSafe for TrustedIdDetails
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more