pub struct WebhookAlertUpdateInput {
pub name: Option<String>,
pub frequency: Option<String>,
pub cron_expression: Option<String>,
pub is_active: Option<bool>,
}Expand description
PATCH body for
Client::update_webhook_alert.
Only name, frequency, cron_expression, and is_active are writable
server-side. query_type and filters are read-only after creation.
Fields§
§name: Option<String>New name.
frequency: Option<String>New frequency.
cron_expression: Option<String>New cron expression.
is_active: Option<bool>Enable / pause.
Trait Implementations§
Source§impl Clone for WebhookAlertUpdateInput
impl Clone for WebhookAlertUpdateInput
Source§fn clone(&self) -> WebhookAlertUpdateInput
fn clone(&self) -> WebhookAlertUpdateInput
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 WebhookAlertUpdateInput
impl Debug for WebhookAlertUpdateInput
Source§impl Default for WebhookAlertUpdateInput
impl Default for WebhookAlertUpdateInput
Source§fn default() -> WebhookAlertUpdateInput
fn default() -> WebhookAlertUpdateInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookAlertUpdateInput
impl<'de> Deserialize<'de> for WebhookAlertUpdateInput
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 WebhookAlertUpdateInput
impl PartialEq for WebhookAlertUpdateInput
Source§fn eq(&self, other: &WebhookAlertUpdateInput) -> bool
fn eq(&self, other: &WebhookAlertUpdateInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WebhookAlertUpdateInput
impl Serialize for WebhookAlertUpdateInput
impl Eq for WebhookAlertUpdateInput
impl StructuralPartialEq for WebhookAlertUpdateInput
Auto Trait Implementations§
impl Freeze for WebhookAlertUpdateInput
impl RefUnwindSafe for WebhookAlertUpdateInput
impl Send for WebhookAlertUpdateInput
impl Sync for WebhookAlertUpdateInput
impl Unpin for WebhookAlertUpdateInput
impl UnsafeUnpin for WebhookAlertUpdateInput
impl UnwindSafe for WebhookAlertUpdateInput
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