pub struct DriftEvent {
pub target: String,
pub at: String,
pub from: Option<String>,
pub to: Option<String>,
}Expand description
A change the node saw between two beats (hub down, or locked).
Fields§
§target: String§at: String§from: Option<String>§to: Option<String>Trait Implementations§
Source§impl Clone for DriftEvent
impl Clone for DriftEvent
Source§fn clone(&self) -> DriftEvent
fn clone(&self) -> DriftEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DriftEvent
impl Debug for DriftEvent
Source§impl<'de> Deserialize<'de> for DriftEvent
impl<'de> Deserialize<'de> for DriftEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DriftEvent
impl PartialEq for DriftEvent
Source§impl Serialize for DriftEvent
impl Serialize for DriftEvent
impl StructuralPartialEq for DriftEvent
Auto Trait Implementations§
impl Freeze for DriftEvent
impl RefUnwindSafe for DriftEvent
impl Send for DriftEvent
impl Sync for DriftEvent
impl Unpin for DriftEvent
impl UnsafeUnpin for DriftEvent
impl UnwindSafe for DriftEvent
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