pub struct WebhookBatchCancelled {
pub created_at: i64,
pub id: String,
pub data: WebhookBatchCancelledData,
pub object: Option<WebhookBatchCancelledObject>,
}
Expand description
Sent when a batch API request has been cancelled.
Fields§
§created_at: i64
The Unix timestamp (in seconds) of when the batch API request was cancelled.
id: String
The unique ID of the event.
data: WebhookBatchCancelledData
Event data payload.
object: Option<WebhookBatchCancelledObject>
The object of the event. Always event
.
Implementations§
Source§impl WebhookBatchCancelled
impl WebhookBatchCancelled
Sourcepub fn builder() -> WebhookBatchCancelledBuilder<((), (), (), ())>
pub fn builder() -> WebhookBatchCancelledBuilder<((), (), (), ())>
Create a builder for building WebhookBatchCancelled
.
On the builder, call .created_at(...)
, .id(...)
, .data(...)
, .object(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of WebhookBatchCancelled
.
Trait Implementations§
Source§impl Clone for WebhookBatchCancelled
impl Clone for WebhookBatchCancelled
Source§fn clone(&self) -> WebhookBatchCancelled
fn clone(&self) -> WebhookBatchCancelled
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WebhookBatchCancelled
impl Debug for WebhookBatchCancelled
Source§impl<'de> Deserialize<'de> for WebhookBatchCancelled
impl<'de> Deserialize<'de> for WebhookBatchCancelled
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 WebhookBatchCancelled
impl PartialEq for WebhookBatchCancelled
Source§impl Serialize for WebhookBatchCancelled
impl Serialize for WebhookBatchCancelled
impl StructuralPartialEq for WebhookBatchCancelled
Auto Trait Implementations§
impl Freeze for WebhookBatchCancelled
impl RefUnwindSafe for WebhookBatchCancelled
impl Send for WebhookBatchCancelled
impl Sync for WebhookBatchCancelled
impl Unpin for WebhookBatchCancelled
impl UnwindSafe for WebhookBatchCancelled
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