pub struct CriticalAlert {
pub id: Option<i32>,
pub alert_type: Option<String>,
pub message: Option<String>,
pub created_at: Option<String>,
pub acknowledged: Option<Option<bool>>,
pub workspace_id: Option<Option<String>>,
}
Fields§
§id: Option<i32>
Unique identifier for the alert
alert_type: Option<String>
Type of alert (e.g., critical_error)
message: Option<String>
The message content of the alert
created_at: Option<String>
Time when the alert was created
acknowledged: Option<Option<bool>>
Acknowledgment status of the alert, can be true, false, or null if not set
workspace_id: Option<Option<String>>
Workspace id if the alert is in the scope of a workspace
Implementations§
Source§impl CriticalAlert
impl CriticalAlert
pub fn new() -> CriticalAlert
Trait Implementations§
Source§impl Clone for CriticalAlert
impl Clone for CriticalAlert
Source§fn clone(&self) -> CriticalAlert
fn clone(&self) -> CriticalAlert
Returns a duplicate of the value. Read more
1.0.0 · 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 CriticalAlert
impl Debug for CriticalAlert
Source§impl Default for CriticalAlert
impl Default for CriticalAlert
Source§fn default() -> CriticalAlert
fn default() -> CriticalAlert
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CriticalAlert
impl<'de> Deserialize<'de> for CriticalAlert
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 CriticalAlert
impl PartialEq for CriticalAlert
Source§impl Serialize for CriticalAlert
impl Serialize for CriticalAlert
impl StructuralPartialEq for CriticalAlert
Auto Trait Implementations§
impl Freeze for CriticalAlert
impl RefUnwindSafe for CriticalAlert
impl Send for CriticalAlert
impl Sync for CriticalAlert
impl Unpin for CriticalAlert
impl UnwindSafe for CriticalAlert
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