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