pub struct WarningEntry {
pub code: String,
pub message: String,
pub at: DateTime<Utc>,
}Expand description
Warning displayed in the dashboard / surfaced through the snapshot.
Fields§
§code: String§message: String§at: DateTime<Utc>Trait Implementations§
Source§impl Clone for WarningEntry
impl Clone for WarningEntry
Source§fn clone(&self) -> WarningEntry
fn clone(&self) -> WarningEntry
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 WarningEntry
impl Debug for WarningEntry
Source§impl<'de> Deserialize<'de> for WarningEntry
impl<'de> Deserialize<'de> for WarningEntry
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 WarningEntry
impl PartialEq for WarningEntry
Source§fn eq(&self, other: &WarningEntry) -> bool
fn eq(&self, other: &WarningEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WarningEntry
impl Serialize for WarningEntry
impl StructuralPartialEq for WarningEntry
Auto Trait Implementations§
impl Freeze for WarningEntry
impl RefUnwindSafe for WarningEntry
impl Send for WarningEntry
impl Sync for WarningEntry
impl Unpin for WarningEntry
impl UnsafeUnpin for WarningEntry
impl UnwindSafe for WarningEntry
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