pub struct WebhookResponseFailed {
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 failed.
Fields§
§created_at: i64The Unix timestamp (in seconds) of when the model response failed.
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 WebhookResponseFailed
impl Clone for WebhookResponseFailed
Source§fn clone(&self) -> WebhookResponseFailed
fn clone(&self) -> WebhookResponseFailed
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 WebhookResponseFailed
impl Debug for WebhookResponseFailed
Source§impl<'de> Deserialize<'de> for WebhookResponseFailed
impl<'de> Deserialize<'de> for WebhookResponseFailed
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 WebhookResponseFailed
impl EventType for WebhookResponseFailed
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 WebhookResponseFailed
impl PartialEq for WebhookResponseFailed
Source§impl Serialize for WebhookResponseFailed
impl Serialize for WebhookResponseFailed
impl StructuralPartialEq for WebhookResponseFailed
Auto Trait Implementations§
impl Freeze for WebhookResponseFailed
impl RefUnwindSafe for WebhookResponseFailed
impl Send for WebhookResponseFailed
impl Sync for WebhookResponseFailed
impl Unpin for WebhookResponseFailed
impl UnwindSafe for WebhookResponseFailed
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