pub struct DcpData {
pub category: Option<String>,
pub dcp_status: Option<String>,
pub time_window: Option<i64>,
pub updated_time: Option<i64>,
}Fields§
§category: Option<String>§dcp_status: Option<String>Whether DCP is triggered (connection lost)
time_window: Option<i64>Time window in ms before DCP triggers
updated_time: Option<i64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for DcpData
impl<'de> Deserialize<'de> for DcpData
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 DcpData
impl RefUnwindSafe for DcpData
impl Send for DcpData
impl Sync for DcpData
impl Unpin for DcpData
impl UnsafeUnpin for DcpData
impl UnwindSafe for DcpData
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