pub struct ClickStackAlertResponse {Show 22 fields
pub channel: ClickStackAlertChannel,
pub created_at: Option<DateTime<Utc>>,
pub dashboard_id: Option<String>,
pub execution_errors: Vec<ClickStackAlertExecutionError>,
pub group_by: Option<String>,
pub id: String,
pub interval: ClickStackAlertResponseInterval,
pub message: Option<String>,
pub name: Option<String>,
pub note: Option<String>,
pub saved_search_id: Option<String>,
pub schedule_offset_minutes: Option<i64>,
pub schedule_start_at: Option<DateTime<Utc>>,
pub silenced: Option<ClickStackAlertSilenced>,
pub source: ClickStackAlertResponseSource,
pub state: ClickStackAlertResponseState,
pub team_id: String,
pub threshold: f64,
pub threshold_max: Option<f64>,
pub threshold_type: ClickStackAlertResponseThresholdtype,
pub tile_id: Option<String>,
pub updated_at: Option<DateTime<Utc>>,
}Expand description
ClickStackAlertResponse from the ClickHouse Cloud API.
Fields§
§channel: ClickStackAlertChannel§created_at: Option<DateTime<Utc>>§dashboard_id: Option<String>§execution_errors: Vec<ClickStackAlertExecutionError>§group_by: Option<String>§id: String§interval: ClickStackAlertResponseInterval§message: Option<String>§name: Option<String>§note: Option<String>§saved_search_id: Option<String>§schedule_offset_minutes: Option<i64>§schedule_start_at: Option<DateTime<Utc>>§silenced: Option<ClickStackAlertSilenced>§source: ClickStackAlertResponseSource§state: ClickStackAlertResponseState§team_id: String§threshold: f64§threshold_max: Option<f64>§threshold_type: ClickStackAlertResponseThresholdtype§tile_id: Option<String>§updated_at: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for ClickStackAlertResponse
impl Clone for ClickStackAlertResponse
Source§fn clone(&self) -> ClickStackAlertResponse
fn clone(&self) -> ClickStackAlertResponse
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 ClickStackAlertResponse
impl Debug for ClickStackAlertResponse
Source§impl Default for ClickStackAlertResponse
impl Default for ClickStackAlertResponse
Source§fn default() -> ClickStackAlertResponse
fn default() -> ClickStackAlertResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClickStackAlertResponse
impl<'de> Deserialize<'de> for ClickStackAlertResponse
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 ClickStackAlertResponse
impl PartialEq for ClickStackAlertResponse
Source§fn eq(&self, other: &ClickStackAlertResponse) -> bool
fn eq(&self, other: &ClickStackAlertResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ClickStackAlertResponse
impl Serialize for ClickStackAlertResponse
impl StructuralPartialEq for ClickStackAlertResponse
Auto Trait Implementations§
impl Freeze for ClickStackAlertResponse
impl RefUnwindSafe for ClickStackAlertResponse
impl Send for ClickStackAlertResponse
impl Sync for ClickStackAlertResponse
impl Unpin for ClickStackAlertResponse
impl UnsafeUnpin for ClickStackAlertResponse
impl UnwindSafe for ClickStackAlertResponse
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