[−][src]Struct stripe::CreateWebhookEndpoint
The parameters for WebhookEndpoint::create
.
Fields
api_version: Option<ApiVersion>
Events sent to this endpoint will be generated with this Stripe Version instead of your account's default Stripe Version.
connect: Option<bool>
Whether this endpoint should receive events from connected accounts (true
), or your account (false
).
enabled_events: Vec<EventFilter>
The list of events to enable for this endpoint.
You may specify ['*']
to enable all events.
expand: &'a [&'a str]
Specifies which fields in the response should be expanded.
url: &'a str
The URL of the webhook endpoint.
Implementations
impl<'a> CreateWebhookEndpoint<'a>
[src][−]
pub fn new(enabled_events: Vec<EventFilter>, url: &'a str) -> Self
[src]
Trait Implementations
impl<'a> Clone for CreateWebhookEndpoint<'a>
[src][+]
impl<'a> Debug for CreateWebhookEndpoint<'a>
[src][+]
impl<'a> Serialize for CreateWebhookEndpoint<'a>
[src][+]
Auto Trait Implementations
impl<'a> RefUnwindSafe for CreateWebhookEndpoint<'a>
impl<'a> Send for CreateWebhookEndpoint<'a>
impl<'a> Sync for CreateWebhookEndpoint<'a>
impl<'a> Unpin for CreateWebhookEndpoint<'a>
impl<'a> UnwindSafe for CreateWebhookEndpoint<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,