pub struct WebhookResponseIncomplete {
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 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: WebhookResponseDataEvent data payload.
object: Option<String>The object of the event. Always event.
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
Source§impl EventId for WebhookResponseIncomplete
impl EventId for WebhookResponseIncomplete
Source§impl EventType for WebhookResponseIncomplete
impl EventType for WebhookResponseIncomplete
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Returns the event type string (e.g., “batch.cancelled”)
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