pub struct WebhookResponseCompleted {
pub created_at: i64,
pub id: String,
pub data: WebhookResponseCompletedData,
pub object: Option<WebhookResponseCompletedObject>,
}
Expand description
Sent when a background response has been completed.
Fields§
§created_at: i64
The Unix timestamp (in seconds) of when the model response was completed.
id: String
The unique ID of the event.
data: WebhookResponseCompletedData
Event data payload.
object: Option<WebhookResponseCompletedObject>
The object of the event. Always event
.
Implementations§
Source§impl WebhookResponseCompleted
impl WebhookResponseCompleted
Sourcepub fn builder() -> WebhookResponseCompletedBuilder<((), (), (), ())>
pub fn builder() -> WebhookResponseCompletedBuilder<((), (), (), ())>
Create a builder for building WebhookResponseCompleted
.
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 WebhookResponseCompleted
.
Trait Implementations§
Source§impl Clone for WebhookResponseCompleted
impl Clone for WebhookResponseCompleted
Source§fn clone(&self) -> WebhookResponseCompleted
fn clone(&self) -> WebhookResponseCompleted
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 WebhookResponseCompleted
impl Debug for WebhookResponseCompleted
Source§impl<'de> Deserialize<'de> for WebhookResponseCompleted
impl<'de> Deserialize<'de> for WebhookResponseCompleted
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 WebhookResponseCompleted
impl PartialEq for WebhookResponseCompleted
Source§fn eq(&self, other: &WebhookResponseCompleted) -> bool
fn eq(&self, other: &WebhookResponseCompleted) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for WebhookResponseCompleted
impl Serialize for WebhookResponseCompleted
impl StructuralPartialEq for WebhookResponseCompleted
Auto Trait Implementations§
impl Freeze for WebhookResponseCompleted
impl RefUnwindSafe for WebhookResponseCompleted
impl Send for WebhookResponseCompleted
impl Sync for WebhookResponseCompleted
impl Unpin for WebhookResponseCompleted
impl UnwindSafe for WebhookResponseCompleted
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