#[non_exhaustive]pub struct ServiceAlert {Show 13 fields
pub id: i64,
pub alert_id: String,
pub source: String,
pub node_id: String,
pub severity: i64,
pub category: String,
pub title: String,
pub description: Option<String>,
pub region: Option<Ref>,
pub account: Option<Ref>,
pub event_time: String,
pub resolved_at: Option<String>,
pub created_at: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: i64§alert_id: String§source: String§node_id: String§severity: i64§category: String§title: String§description: Option<String>§region: Option<Ref>§account: Option<Ref>§event_time: String§resolved_at: Option<String>§created_at: Option<String>Trait Implementations§
Source§impl Clone for ServiceAlert
impl Clone for ServiceAlert
Source§impl Debug for ServiceAlert
impl Debug for ServiceAlert
Source§impl<'de> Deserialize<'de> for ServiceAlert
impl<'de> Deserialize<'de> for ServiceAlert
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 ServiceAlert
impl RefUnwindSafe for ServiceAlert
impl Send for ServiceAlert
impl Sync for ServiceAlert
impl Unpin for ServiceAlert
impl UnsafeUnpin for ServiceAlert
impl UnwindSafe for ServiceAlert
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