Struct sc_peerset::ReputationChange [−][src]
Expand description
Description of a reputation adjustment for a node.
Fields
value: i32
Reputation delta.
reason: &'static str
Reason 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 ReputationChange
impl Send for ReputationChange
impl Sync for ReputationChange
impl Unpin for ReputationChange
impl UnwindSafe for ReputationChange
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V