pub struct WebhookSubscriptionUpdateWebhookSubscription {
pub description: Option<String>,
pub events: Option<Vec<String>>,
pub filter: Option<WebhookSubscriptionUpdateWebhookSubscriptionFilter>,
pub active: Option<bool>,
}Fields§
§description: Option<String>A short description of the webhook subscription.
events: Option<Vec<String>>The set of outbound event types the subscription will receive.
filter: Option<WebhookSubscriptionUpdateWebhookSubscriptionFilter>§active: Option<bool>If true, a webhook will be sent. True is the default state. If false, a webhook will not be sent.
Trait Implementations§
Source§impl Clone for WebhookSubscriptionUpdateWebhookSubscription
impl Clone for WebhookSubscriptionUpdateWebhookSubscription
Source§fn clone(&self) -> WebhookSubscriptionUpdateWebhookSubscription
fn clone(&self) -> WebhookSubscriptionUpdateWebhookSubscription
Returns a duplicate of the value. Read more
1.0.0 · 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 WebhookSubscriptionUpdateWebhookSubscription
impl Default for WebhookSubscriptionUpdateWebhookSubscription
Source§fn default() -> WebhookSubscriptionUpdateWebhookSubscription
fn default() -> WebhookSubscriptionUpdateWebhookSubscription
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookSubscriptionUpdateWebhookSubscription
impl<'de> Deserialize<'de> for WebhookSubscriptionUpdateWebhookSubscription
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 WebhookSubscriptionUpdateWebhookSubscription
impl PartialEq for WebhookSubscriptionUpdateWebhookSubscription
Source§fn eq(&self, other: &WebhookSubscriptionUpdateWebhookSubscription) -> bool
fn eq(&self, other: &WebhookSubscriptionUpdateWebhookSubscription) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WebhookSubscriptionUpdateWebhookSubscription
Auto Trait Implementations§
impl Freeze for WebhookSubscriptionUpdateWebhookSubscription
impl RefUnwindSafe for WebhookSubscriptionUpdateWebhookSubscription
impl Send for WebhookSubscriptionUpdateWebhookSubscription
impl Sync for WebhookSubscriptionUpdateWebhookSubscription
impl Unpin for WebhookSubscriptionUpdateWebhookSubscription
impl UnwindSafe for WebhookSubscriptionUpdateWebhookSubscription
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