pub struct WebhookResponseIncomplete {
    pub created_at: i64,
    pub id: String,
    pub data: Data,
    pub object: Option<Object>,
}Expand description
Sent when a background response has been interrupted.
Fields§
§created_at: i64The Unix timestamp (in seconds) of when the model response was interrupted.
id: StringThe unique ID of the event.
data: DataEvent data payload.
object: Option<Object>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§fn clone_from(&mut self, source: &Self)
 
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
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