pub struct ClickStackAlertChannelWebhookResponse {
pub severity: Option<ClickStackAlertChannelWebhookSeverity>,
pub slack_channel_id: Option<String>,
pub type: Option<ClickStackAlertChannelWebhookType>,
pub webhook_id: Option<String>,
pub webhook_service: Option<String>,
}Expand description
ClickStackAlertChannelWebhook from the ClickHouse Cloud API, in response position.
Response variant of ClickStackAlertChannelWebhook: every field is Option<T>, so a field
the API drops or sends as null deserializes to None instead of
failing.
Fields§
§severity: Option<ClickStackAlertChannelWebhookSeverity>§slack_channel_id: Option<String>§type: Option<ClickStackAlertChannelWebhookType>§webhook_id: Option<String>§webhook_service: Option<String>Trait Implementations§
Source§impl Clone for ClickStackAlertChannelWebhookResponse
impl Clone for ClickStackAlertChannelWebhookResponse
Source§fn clone(&self) -> ClickStackAlertChannelWebhookResponse
fn clone(&self) -> ClickStackAlertChannelWebhookResponse
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 Default for ClickStackAlertChannelWebhookResponse
impl Default for ClickStackAlertChannelWebhookResponse
Source§fn default() -> ClickStackAlertChannelWebhookResponse
fn default() -> ClickStackAlertChannelWebhookResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClickStackAlertChannelWebhookResponse
impl<'de> Deserialize<'de> for ClickStackAlertChannelWebhookResponse
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
impl StructuralPartialEq for ClickStackAlertChannelWebhookResponse
Auto Trait Implementations§
impl Freeze for ClickStackAlertChannelWebhookResponse
impl RefUnwindSafe for ClickStackAlertChannelWebhookResponse
impl Send for ClickStackAlertChannelWebhookResponse
impl Sync for ClickStackAlertChannelWebhookResponse
impl Unpin for ClickStackAlertChannelWebhookResponse
impl UnsafeUnpin for ClickStackAlertChannelWebhookResponse
impl UnwindSafe for ClickStackAlertChannelWebhookResponse
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