pub struct WebhookBatchExpired {
pub created_at: u64,
pub id: String,
pub data: WebhookBatchData,
pub object: Option<String>,
}Available on crate feature
webhook-types only.Expand description
Sent when a batch API request has expired.
Fields§
§created_at: u64The Unix timestamp (in seconds) of when the batch API request expired.
id: StringThe unique ID of the event.
data: WebhookBatchDataEvent data payload.
object: Option<String>The object of the event. Always event.
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§fn clone_from(&mut self, source: &Self)
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 EventId for WebhookBatchExpired
impl EventId for WebhookBatchExpired
Source§impl EventType for WebhookBatchExpired
impl EventType for WebhookBatchExpired
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Available on crate feature
_api only.Returns the event type string (e.g., “batch.cancelled”)
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