Struct sc_peerset::ReputationChange [−][src]
Expand description
Description of a reputation adjustment for a node.
Fields
value: i32Reputation delta.
reason: &'static strReason for reputation change.
Implementations
New reputation change with given delta and reason.
New reputation change that forces minimum possible reputation.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ReputationChangeimpl Send for ReputationChangeimpl Sync for ReputationChangeimpl Unpin for ReputationChangeimpl UnwindSafe for ReputationChangeBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V