Struct duniter_wotb::WotDistanceParameters
[−]
[src]
pub struct WotDistanceParameters { pub node: NodeId, pub sentry_requirement: u32, pub step_max: u32, pub x_percent: f64, }
Paramters for WoT
distance calculations
Fields
node: NodeId
Node from where distances are calculated.
sentry_requirement: u32
Links count received AND issued to be a sentry.
step_max: u32
Currency parameter.
x_percent: f64
Currency parameter.
Trait Implementations
impl Debug for WotDistanceParameters
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for WotDistanceParameters
[src]
impl Clone for WotDistanceParameters
[src]
fn clone(&self) -> WotDistanceParameters
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for WotDistanceParameters
[src]
fn eq(&self, __arg_0: &WotDistanceParameters) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &WotDistanceParameters) -> bool
[src]
This method tests for !=
.