pub struct Alert {
pub status: Status,
pub labels: HashMap<String, String>,
pub annotations: HashMap<String, String>,
pub starts_at: OffsetDateTime,
pub ends_at: OffsetDateTime,
pub generator_url: String,
pub fingerprint: String,
}Fields§
§status: Status§labels: HashMap<String, String>§annotations: HashMap<String, String>§starts_at: OffsetDateTime§ends_at: OffsetDateTime§generator_url: String§fingerprint: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Alert
impl<'de> Deserialize<'de> for Alert
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 Alert
impl RefUnwindSafe for Alert
impl Send for Alert
impl Sync for Alert
impl Unpin for Alert
impl UnwindSafe for Alert
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