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 from where distances are calculated.

Links count received AND issued to be a sentry.

Currency parameter.

Currency parameter.

Trait Implementations

impl Debug for WotDistanceParameters
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for WotDistanceParameters
[src]

impl Clone for WotDistanceParameters
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for WotDistanceParameters
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations