pub struct RealtimeResponseStatusDetails {
pub error: Option<RealtimeResponseStatusDetailsError>,
pub reason: Option<String>,
pub _type: Option<String>,
}
Fields§
§error: Option<RealtimeResponseStatusDetailsError>
§reason: Option<String>
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: Option<String>
The type of error that caused the response to fail, corresponding with the status
field (completed
, cancelled
, incomplete
, failed
).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RealtimeResponseStatusDetails
impl<'de> Deserialize<'de> for RealtimeResponseStatusDetails
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 RealtimeResponseStatusDetails
impl RefUnwindSafe for RealtimeResponseStatusDetails
impl Send for RealtimeResponseStatusDetails
impl Sync for RealtimeResponseStatusDetails
impl Unpin for RealtimeResponseStatusDetails
impl UnwindSafe for RealtimeResponseStatusDetails
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