Struct crev_wot::TraverseLogEdge
source · [−]pub struct TraverseLogEdge {Show 13 fields
pub from: Id,
pub to: Id,
pub direct_trust: TrustLevel,
pub effective_trust: TrustLevel,
pub relative_distance: Option<u64>,
pub total_distance: Option<u64>,
pub distrusted_by: HashSet<Id>,
pub overriden_by: HashSet<Id>,
pub no_change: bool,
pub ignored_distrusted: bool,
pub ignored_trust_too_low: bool,
pub ignored_overriden: bool,
pub ignored_too_far: bool,
}
Fields
from: Id
to: Id
direct_trust: TrustLevel
effective_trust: TrustLevel
relative_distance: Option<u64>
total_distance: Option<u64>
distrusted_by: HashSet<Id>
overriden_by: HashSet<Id>
no_change: bool
ignored_distrusted: bool
ignored_trust_too_low: bool
ignored_overriden: bool
ignored_too_far: bool
Trait Implementations
sourceimpl Clone for TraverseLogEdge
impl Clone for TraverseLogEdge
sourcefn clone(&self) -> TraverseLogEdge
fn clone(&self) -> TraverseLogEdge
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TraverseLogEdge
impl Debug for TraverseLogEdge
sourceimpl From<TraverseLogEdge> for TraverseLogItem
impl From<TraverseLogEdge> for TraverseLogItem
sourcefn from(e: TraverseLogEdge) -> Self
fn from(e: TraverseLogEdge) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TraverseLogEdge
impl Send for TraverseLogEdge
impl Sync for TraverseLogEdge
impl Unpin for TraverseLogEdge
impl UnwindSafe for TraverseLogEdge
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more