pub struct WebhookBatchFailed {
pub created_at: i64,
pub id: String,
pub data: WebhookBatchData,
pub object: Option<String>,
}Available on crate feature
webhook only.Expand description
Sent when a batch API request has failed.
Fields§
§created_at: i64The Unix timestamp (in seconds) of when the batch API request failed.
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 WebhookBatchFailed
impl Clone for WebhookBatchFailed
Source§fn clone(&self) -> WebhookBatchFailed
fn clone(&self) -> WebhookBatchFailed
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 WebhookBatchFailed
impl Debug for WebhookBatchFailed
Source§impl<'de> Deserialize<'de> for WebhookBatchFailed
impl<'de> Deserialize<'de> for WebhookBatchFailed
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 EventType for WebhookBatchFailed
impl EventType for WebhookBatchFailed
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Returns the event type string (e.g., “batch.cancelled”)
Source§impl PartialEq for WebhookBatchFailed
impl PartialEq for WebhookBatchFailed
Source§impl Serialize for WebhookBatchFailed
impl Serialize for WebhookBatchFailed
impl StructuralPartialEq for WebhookBatchFailed
Auto Trait Implementations§
impl Freeze for WebhookBatchFailed
impl RefUnwindSafe for WebhookBatchFailed
impl Send for WebhookBatchFailed
impl Sync for WebhookBatchFailed
impl Unpin for WebhookBatchFailed
impl UnwindSafe for WebhookBatchFailed
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