pub struct TrustDistanceParams {
pub max_distance: u64,
pub high_trust_distance: u64,
pub medium_trust_distance: u64,
pub low_trust_distance: u64,
pub none_trust_distance: u64,
pub distrust_distance: u64,
}Fields§
§max_distance: u64§high_trust_distance: u64§medium_trust_distance: u64§low_trust_distance: u64§none_trust_distance: u64§distrust_distance: u64Implementations§
Source§impl TrustDistanceParams
impl TrustDistanceParams
pub fn new_no_wot() -> TrustDistanceParams
Trait Implementations§
Source§impl Default for TrustDistanceParams
impl Default for TrustDistanceParams
Source§fn default() -> TrustDistanceParams
fn default() -> TrustDistanceParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TrustDistanceParams
impl RefUnwindSafe for TrustDistanceParams
impl Send for TrustDistanceParams
impl Sync for TrustDistanceParams
impl Unpin for TrustDistanceParams
impl UnwindSafe for TrustDistanceParams
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