pub struct CreateWebhookSubscriptionRequest {
pub idempotency_key: Option<String>,
pub subscription: WebhookSubscription,
}Expand description
This is a model struct for CreateWebhookSubscriptionRequest type.
Fields§
§idempotency_key: Option<String>A unique string that identifies the CreateWebhookSubscription request.
Max Length: 45
subscription: WebhookSubscriptionThe subscription object to create.
Trait Implementations§
Source§impl Clone for CreateWebhookSubscriptionRequest
impl Clone for CreateWebhookSubscriptionRequest
Source§fn clone(&self) -> CreateWebhookSubscriptionRequest
fn clone(&self) -> CreateWebhookSubscriptionRequest
Returns a copy 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 PartialEq for CreateWebhookSubscriptionRequest
impl PartialEq for CreateWebhookSubscriptionRequest
Source§fn eq(&self, other: &CreateWebhookSubscriptionRequest) -> bool
fn eq(&self, other: &CreateWebhookSubscriptionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreateWebhookSubscriptionRequest
impl StructuralPartialEq for CreateWebhookSubscriptionRequest
Auto Trait Implementations§
impl Freeze for CreateWebhookSubscriptionRequest
impl RefUnwindSafe for CreateWebhookSubscriptionRequest
impl Send for CreateWebhookSubscriptionRequest
impl Sync for CreateWebhookSubscriptionRequest
impl Unpin for CreateWebhookSubscriptionRequest
impl UnwindSafe for CreateWebhookSubscriptionRequest
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