pub struct ReceivedPulse {
pub pulse: Pulse,
pub local_matches: u32,
pub integrated: bool,
}Expand description
Received pulse — a pulse from another instance, integrated into local state.
Fields§
§pulse: Pulse§local_matches: u32How many local blocks were influenced by this pulse.
integrated: boolWas this pulse already integrated?
Trait Implementations§
Source§impl Clone for ReceivedPulse
impl Clone for ReceivedPulse
Source§fn clone(&self) -> ReceivedPulse
fn clone(&self) -> ReceivedPulse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReceivedPulse
impl RefUnwindSafe for ReceivedPulse
impl Send for ReceivedPulse
impl Sync for ReceivedPulse
impl Unpin for ReceivedPulse
impl UnsafeUnpin for ReceivedPulse
impl UnwindSafe for ReceivedPulse
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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