pub struct AlertsResponse<KV = HashMap<String, String>>{
pub alerts: Vec<AlertInfo<KV>>,
}Expand description
Response from /api/v1/alerts endpoint
Fields§
§alerts: Vec<AlertInfo<KV>>List of alerts
Trait Implementations§
Source§impl<KV> Clone for AlertsResponse<KV>
impl<KV> Clone for AlertsResponse<KV>
Source§fn clone(&self) -> AlertsResponse<KV>
fn clone(&self) -> AlertsResponse<KV>
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<KV> Debug for AlertsResponse<KV>
impl<KV> Debug for AlertsResponse<KV>
Source§impl<'de, KV> Deserialize<'de> for AlertsResponse<KV>
impl<'de, KV> Deserialize<'de> for AlertsResponse<KV>
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<KV> Freeze for AlertsResponse<KV>
impl<KV> RefUnwindSafe for AlertsResponse<KV>
impl<KV> Send for AlertsResponse<KV>
impl<KV> Sync for AlertsResponse<KV>
impl<KV> Unpin for AlertsResponse<KV>
impl<KV> UnsafeUnpin for AlertsResponse<KV>
impl<KV> UnwindSafe for AlertsResponse<KV>
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