pub struct WebhookResponseCompleted {
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 completed.
Fields§
§created_at: i64The Unix timestamp (in seconds) of when the model response was completed.
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 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§fn clone_from(&mut self, source: &Self)
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 EventId for WebhookResponseCompleted
impl EventId for WebhookResponseCompleted
Source§impl EventType for WebhookResponseCompleted
impl EventType for WebhookResponseCompleted
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Returns the event type string (e.g., “batch.cancelled”)
Source§impl PartialEq for WebhookResponseCompleted
impl PartialEq for WebhookResponseCompleted
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