pub struct OnlineStateObservation {
pub id: String,
pub state: String,
pub observed_at: Option<i64>,
pub source: Option<String>,
pub reason: Option<String>,
}Fields§
§id: String§state: String§observed_at: Option<i64>§source: Option<String>§reason: Option<String>Trait Implementations§
Source§impl Clone for OnlineStateObservation
impl Clone for OnlineStateObservation
Source§fn clone(&self) -> OnlineStateObservation
fn clone(&self) -> OnlineStateObservation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OnlineStateObservation
impl Debug for OnlineStateObservation
Source§impl<'de> Deserialize<'de> for OnlineStateObservation
impl<'de> Deserialize<'de> for OnlineStateObservation
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 Eq for OnlineStateObservation
Source§impl PartialEq for OnlineStateObservation
impl PartialEq for OnlineStateObservation
Source§impl Serialize for OnlineStateObservation
impl Serialize for OnlineStateObservation
impl StructuralPartialEq for OnlineStateObservation
Auto Trait Implementations§
impl Freeze for OnlineStateObservation
impl RefUnwindSafe for OnlineStateObservation
impl Send for OnlineStateObservation
impl Sync for OnlineStateObservation
impl Unpin for OnlineStateObservation
impl UnsafeUnpin for OnlineStateObservation
impl UnwindSafe for OnlineStateObservation
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