pub struct WebhookBatchExpired {
pub created_at: i64,
pub id: String,
pub data: WebhookBatchExpiredData,
pub object: Option<WebhookBatchExpiredObject>,
}
Expand description
Sent when a batch API request has expired.
Fields§
§created_at: i64
The Unix timestamp (in seconds) of when the batch API request expired.
id: String
The unique ID of the event.
data: WebhookBatchExpiredData
Event data payload.
object: Option<WebhookBatchExpiredObject>
The object of the event. Always event
.
Implementations§
Source§impl WebhookBatchExpired
impl WebhookBatchExpired
Sourcepub fn builder() -> WebhookBatchExpiredBuilder<((), (), (), ())>
pub fn builder() -> WebhookBatchExpiredBuilder<((), (), (), ())>
Create a builder for building WebhookBatchExpired
.
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 WebhookBatchExpired
.
Trait Implementations§
Source§impl Clone for WebhookBatchExpired
impl Clone for WebhookBatchExpired
Source§fn clone(&self) -> WebhookBatchExpired
fn clone(&self) -> WebhookBatchExpired
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 WebhookBatchExpired
impl Debug for WebhookBatchExpired
Source§impl<'de> Deserialize<'de> for WebhookBatchExpired
impl<'de> Deserialize<'de> for WebhookBatchExpired
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 WebhookBatchExpired
impl PartialEq for WebhookBatchExpired
Source§impl Serialize for WebhookBatchExpired
impl Serialize for WebhookBatchExpired
impl StructuralPartialEq for WebhookBatchExpired
Auto Trait Implementations§
impl Freeze for WebhookBatchExpired
impl RefUnwindSafe for WebhookBatchExpired
impl Send for WebhookBatchExpired
impl Sync for WebhookBatchExpired
impl Unpin for WebhookBatchExpired
impl UnwindSafe for WebhookBatchExpired
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