pub struct RealtimeResponseStatusDetail {
pub error: Option<Error>,
pub reason: Option<RealtimeResponseStatusDetailReason>,
pub type: RealtimeResponseStatusDetailType,
}Available on crate feature
realtime only.Fields§
§error: Option<Error>A description of the error that caused the response to fail, populated when the status is failed.
reason: Option<RealtimeResponseStatusDetailReason>The reason the Response did not complete. For a cancelled Response, one of turn_detected
(the server VAD detected a new start of speech) or client_cancelled (the client sent a cancel
event). For an incomplete Response, one of max_output_tokens or content_filter (the
server-side safety filter activated and cut off the response).
type: RealtimeResponseStatusDetailTypeThe type of error that caused the response to fail, corresponding with the status
field (completed, cancelled, incomplete, failed).
Trait Implementations§
Source§impl Clone for RealtimeResponseStatusDetail
impl Clone for RealtimeResponseStatusDetail
Source§fn clone(&self) -> RealtimeResponseStatusDetail
fn clone(&self) -> RealtimeResponseStatusDetail
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 RealtimeResponseStatusDetail
impl Debug for RealtimeResponseStatusDetail
Source§impl<'de> Deserialize<'de> for RealtimeResponseStatusDetail
impl<'de> Deserialize<'de> for RealtimeResponseStatusDetail
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
Auto Trait Implementations§
impl Freeze for RealtimeResponseStatusDetail
impl RefUnwindSafe for RealtimeResponseStatusDetail
impl Send for RealtimeResponseStatusDetail
impl Sync for RealtimeResponseStatusDetail
impl Unpin for RealtimeResponseStatusDetail
impl UnwindSafe for RealtimeResponseStatusDetail
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