pub struct ResponseResource {
pub id: String,
pub object: String,
pub status: ResponseStatus,
pub status_details: Option<ResponseStatusDetail>,
pub output: Vec<Item>,
pub usage: Option<Usage>,
}
Available on crate feature
realtime
only.Fields§
§id: String
The unique ID of the response.
object: String
The object type, must be “realtime.response”.
status: ResponseStatus
The status of the response
status_details: Option<ResponseStatusDetail>
Additional details about the status.
output: Vec<Item>
The list of output items generated by the response.
usage: Option<Usage>
Usage statistics for the response.
Trait Implementations§
Source§impl Clone for ResponseResource
impl Clone for ResponseResource
Source§fn clone(&self) -> ResponseResource
fn clone(&self) -> ResponseResource
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 ResponseResource
impl Debug for ResponseResource
Source§impl<'de> Deserialize<'de> for ResponseResource
impl<'de> Deserialize<'de> for ResponseResource
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 ResponseResource
impl RefUnwindSafe for ResponseResource
impl Send for ResponseResource
impl Sync for ResponseResource
impl Unpin for ResponseResource
impl UnwindSafe for ResponseResource
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