pub struct CreateWebhookParams {
pub create_webhook_request: CreateWebhookRequest,
pub idempotency_key: Option<String>,
}
Expand description
struct for passing parameters to the method [create_webhook
]
Fields§
§create_webhook_request: CreateWebhookRequest
§idempotency_key: Option<String>
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Implementations§
Source§impl CreateWebhookParams
impl CreateWebhookParams
Sourcepub fn builder() -> CreateWebhookParamsBuilder
pub fn builder() -> CreateWebhookParamsBuilder
Create an instance of CreateWebhookParams
using the builder syntax
Trait Implementations§
Source§impl Clone for CreateWebhookParams
impl Clone for CreateWebhookParams
Source§fn clone(&self) -> CreateWebhookParams
fn clone(&self) -> CreateWebhookParams
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 moreAuto Trait Implementations§
impl Freeze for CreateWebhookParams
impl RefUnwindSafe for CreateWebhookParams
impl Send for CreateWebhookParams
impl Sync for CreateWebhookParams
impl Unpin for CreateWebhookParams
impl UnwindSafe for CreateWebhookParams
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