pub struct PricingHeartbeat {
pub type: Option<String>,
pub time: Option<Timestamp>,
}Expand description
A PricingHeartbeat object is injected into the Pricing stream to ensure that the HTTP connection remains active.
Fields§
§type: Option<String>The string “HEARTBEAT”
time: Option<Timestamp>The date/time when the Heartbeat was created.
Trait Implementations§
Source§impl Clone for PricingHeartbeat
impl Clone for PricingHeartbeat
Source§impl Debug for PricingHeartbeat
impl Debug for PricingHeartbeat
Source§impl<'de> Deserialize<'de> for PricingHeartbeat
impl<'de> Deserialize<'de> for PricingHeartbeat
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 PricingHeartbeat
impl PartialEq for PricingHeartbeat
Source§impl Serialize for PricingHeartbeat
impl Serialize for PricingHeartbeat
impl StructuralPartialEq for PricingHeartbeat
Auto Trait Implementations§
impl Freeze for PricingHeartbeat
impl RefUnwindSafe for PricingHeartbeat
impl Send for PricingHeartbeat
impl Sync for PricingHeartbeat
impl Unpin for PricingHeartbeat
impl UnsafeUnpin for PricingHeartbeat
impl UnwindSafe for PricingHeartbeat
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