pub struct WebhookResponseCancelled {
pub created_at: i64,
pub id: String,
pub data: WebhookResponseData,
pub object: Option<String>,
}Available on crate feature
webhook only.Expand description
Sent when a background response has been cancelled.
Fields§
§created_at: i64The Unix timestamp (in seconds) of when the model response was cancelled.
id: StringThe unique ID of the event.
data: WebhookResponseDataEvent data payload.
object: Option<String>The object of the event. Always event.
Trait Implementations§
Source§impl Clone for WebhookResponseCancelled
impl Clone for WebhookResponseCancelled
Source§fn clone(&self) -> WebhookResponseCancelled
fn clone(&self) -> WebhookResponseCancelled
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 WebhookResponseCancelled
impl Debug for WebhookResponseCancelled
Source§impl<'de> Deserialize<'de> for WebhookResponseCancelled
impl<'de> Deserialize<'de> for WebhookResponseCancelled
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 WebhookResponseCancelled
impl EventId for WebhookResponseCancelled
Source§impl EventType for WebhookResponseCancelled
impl EventType for WebhookResponseCancelled
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 WebhookResponseCancelled
impl PartialEq for WebhookResponseCancelled
Source§impl Serialize for WebhookResponseCancelled
impl Serialize for WebhookResponseCancelled
impl StructuralPartialEq for WebhookResponseCancelled
Auto Trait Implementations§
impl Freeze for WebhookResponseCancelled
impl RefUnwindSafe for WebhookResponseCancelled
impl Send for WebhookResponseCancelled
impl Sync for WebhookResponseCancelled
impl Unpin for WebhookResponseCancelled
impl UnwindSafe for WebhookResponseCancelled
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