pub struct DeleteWebhookEndpoint { /* private fields */ }
Expand description
You can also delete webhook endpoints via the webhook endpoint management page of the Stripe dashboard.
Implementations§
Source§impl DeleteWebhookEndpoint
impl DeleteWebhookEndpoint
Sourcepub fn new(webhook_endpoint: impl Into<WebhookEndpointId>) -> Self
pub fn new(webhook_endpoint: impl Into<WebhookEndpointId>) -> Self
Construct a new DeleteWebhookEndpoint
.
Source§impl DeleteWebhookEndpoint
impl DeleteWebhookEndpoint
Sourcepub async fn send<C: StripeClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub async fn send<C: StripeClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response.
Sourcepub fn send_blocking<C: StripeBlockingClient>(
&self,
client: &C,
) -> Result<<Self as StripeRequest>::Output, C::Err>
pub fn send_blocking<C: StripeBlockingClient>( &self, client: &C, ) -> Result<<Self as StripeRequest>::Output, C::Err>
Send the request and return the deserialized response, blocking until completion.
Trait Implementations§
Source§impl Clone for DeleteWebhookEndpoint
impl Clone for DeleteWebhookEndpoint
Source§fn clone(&self) -> DeleteWebhookEndpoint
fn clone(&self) -> DeleteWebhookEndpoint
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 DeleteWebhookEndpoint
impl Debug for DeleteWebhookEndpoint
Source§impl Serialize for DeleteWebhookEndpoint
impl Serialize for DeleteWebhookEndpoint
Source§impl StripeRequest for DeleteWebhookEndpoint
impl StripeRequest for DeleteWebhookEndpoint
Source§type Output = DeletedWebhookEndpoint
type Output = DeletedWebhookEndpoint
The data returned from the eventual API call.
Source§fn build(&self) -> RequestBuilder
fn build(&self) -> RequestBuilder
Convert the struct into library-agnostic data that can be used by compatible
clients to make API calls.
Source§fn customize(&self) -> CustomizableStripeRequest<Self::Output>
fn customize(&self) -> CustomizableStripeRequest<Self::Output>
Convert to a builder allowing per-request customization.
Auto Trait Implementations§
impl Freeze for DeleteWebhookEndpoint
impl RefUnwindSafe for DeleteWebhookEndpoint
impl Send for DeleteWebhookEndpoint
impl Sync for DeleteWebhookEndpoint
impl Unpin for DeleteWebhookEndpoint
impl UnwindSafe for DeleteWebhookEndpoint
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