pub struct WebhookSubscription {
pub id: Option<String>,
pub _type: WebhookSubscriptionTypeEnum,
pub active: Option<bool>,
pub delivery_method: WebhookSubscriptionDeliveryMethod,
pub description: Option<String>,
pub events: Vec<String>,
pub filter: WebhookSubscriptionFilter,
}Fields§
§id: Option<String>§_type: WebhookSubscriptionTypeEnumThe type indicating the schema of the object.
active: Option<bool>Determines whether this subscription will produce webhook events.
delivery_method: WebhookSubscriptionDeliveryMethod§description: Option<String>A short description of the webhook subscription.
events: Vec<String>The set of outbound event types the webhook will receive.
filter: WebhookSubscriptionFilterTrait Implementations§
Source§impl Clone for WebhookSubscription
impl Clone for WebhookSubscription
Source§fn clone(&self) -> WebhookSubscription
fn clone(&self) -> WebhookSubscription
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 Debug for WebhookSubscription
impl Debug for WebhookSubscription
Source§impl Default for WebhookSubscription
impl Default for WebhookSubscription
Source§fn default() -> WebhookSubscription
fn default() -> WebhookSubscription
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookSubscription
impl<'de> Deserialize<'de> for WebhookSubscription
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 WebhookSubscription
impl PartialEq for WebhookSubscription
Source§impl Serialize for WebhookSubscription
impl Serialize for WebhookSubscription
impl StructuralPartialEq for WebhookSubscription
Auto Trait Implementations§
impl Freeze for WebhookSubscription
impl RefUnwindSafe for WebhookSubscription
impl Send for WebhookSubscription
impl Sync for WebhookSubscription
impl Unpin for WebhookSubscription
impl UnwindSafe for WebhookSubscription
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