pub struct WebhookSubscriptionsUpdate {
pub subscribed_event_types: Vec<String>,
}Expand description
WebhookSubscriptionsUpdate
Fields§
§subscribed_event_types: Vec<String>Event types to subscribe to. Set to empty array to opt out of all events.
Validation:* Unknown event types return 422 with the invalid types listed.
Trait Implementations§
Source§impl Clone for WebhookSubscriptionsUpdate
impl Clone for WebhookSubscriptionsUpdate
Source§fn clone(&self) -> WebhookSubscriptionsUpdate
fn clone(&self) -> WebhookSubscriptionsUpdate
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 WebhookSubscriptionsUpdate
impl Debug for WebhookSubscriptionsUpdate
Source§impl<'de> Deserialize<'de> for WebhookSubscriptionsUpdate
impl<'de> Deserialize<'de> for WebhookSubscriptionsUpdate
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
Auto Trait Implementations§
impl Freeze for WebhookSubscriptionsUpdate
impl RefUnwindSafe for WebhookSubscriptionsUpdate
impl Send for WebhookSubscriptionsUpdate
impl Sync for WebhookSubscriptionsUpdate
impl Unpin for WebhookSubscriptionsUpdate
impl UnsafeUnpin for WebhookSubscriptionsUpdate
impl UnwindSafe for WebhookSubscriptionsUpdate
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