pub struct DcpMsg {
pub product: String,
pub dcp_status: String,
pub time_window: u64,
pub updated_at: Timestamp,
}Expand description
Data from the dcp private WS topic (Disconnection and Cancellation
Protection status update).
Fields§
§product: StringProduct class affected: e.g. "OPTIONS", "DERIVATIVES".
dcp_status: StringCurrent DCP status. "ON" or "OFF".
time_window: u64The time window (seconds) configured for DCP.
updated_at: TimestampTimestamp of the last status change (ms).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DcpMsg
impl<'de> Deserialize<'de> for DcpMsg
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
impl StructuralPartialEq for DcpMsg
Auto Trait Implementations§
impl Freeze for DcpMsg
impl RefUnwindSafe for DcpMsg
impl Send for DcpMsg
impl Sync for DcpMsg
impl Unpin for DcpMsg
impl UnsafeUnpin for DcpMsg
impl UnwindSafe for DcpMsg
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