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.
The deprecated pickup_deadline_warning is still accepted but never delivered.
Trait Implementations§
Source§impl Clone for WebhookSubscriptionsUpdate
impl Clone for WebhookSubscriptionsUpdate
Source§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