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§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§
§impl<T> AnyEq for T
impl<T> AnyEq for T
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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