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