pub struct WebhookResponseFailed {
pub created_at: i64,
pub id: String,
pub data: WebhookResponseFailedData,
pub object: Option<WebhookResponseFailedObject>,
}
Expand description
Sent when a background response has failed.
Fields§
§created_at: i64
The Unix timestamp (in seconds) of when the model response failed.
id: String
The unique ID of the event.
data: WebhookResponseFailedData
Event data payload.
object: Option<WebhookResponseFailedObject>
The object of the event. Always event
.
Implementations§
Source§impl WebhookResponseFailed
impl WebhookResponseFailed
Sourcepub fn builder() -> WebhookResponseFailedBuilder<((), (), (), ())>
pub fn builder() -> WebhookResponseFailedBuilder<((), (), (), ())>
Create a builder for building WebhookResponseFailed
.
On the builder, call .created_at(...)
, .id(...)
, .data(...)
, .object(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of WebhookResponseFailed
.
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§const fn clone_from(&mut self, source: &Self)
const 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 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