pub struct WebhookBatchCancelled {
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 been cancelled.
Fields§
§created_at: i64The Unix timestamp (in seconds) of when the batch API request was cancelled.
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 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§fn clone_from(&mut self, source: &Self)
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 EventType for WebhookBatchCancelled
impl EventType for WebhookBatchCancelled
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 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