pub struct Approaching {
pub coin: String,
pub direction: Option<String>,
pub distance_to_gate: Option<f64>,
pub gate: Option<String>,
pub ts: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
A coin approaching an entry gate.
Fields§
§coin: String§direction: Option<String>§distance_to_gate: Option<f64>§gate: Option<String>§ts: Option<String>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for Approaching
impl Clone for Approaching
Source§fn clone(&self) -> Approaching
fn clone(&self) -> Approaching
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 moreSource§impl Debug for Approaching
impl Debug for Approaching
Source§impl Default for Approaching
impl Default for Approaching
Source§fn default() -> Approaching
fn default() -> Approaching
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Approachingwhere
Approaching: Default,
impl<'de> Deserialize<'de> for Approachingwhere
Approaching: Default,
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
Auto Trait Implementations§
impl Freeze for Approaching
impl RefUnwindSafe for Approaching
impl Send for Approaching
impl Sync for Approaching
impl Unpin for Approaching
impl UnsafeUnpin for Approaching
impl UnwindSafe for Approaching
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