pub struct SystemOneResponse {
pub answers: BTreeMap<String, Answer>,
pub model: String,
pub usage: Usage,
pub timing_ms: Timing,
}Fields§
§answers: BTreeMap<String, Answer>Answers keyed by the question id they were asked under.
model: StringThe model actually used, after alias resolution.
usage: Usage§timing_ms: TimingTrait Implementations§
Source§impl Clone for SystemOneResponse
impl Clone for SystemOneResponse
Source§fn clone(&self) -> SystemOneResponse
fn clone(&self) -> SystemOneResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SystemOneResponse
impl Debug for SystemOneResponse
Source§impl<'de> Deserialize<'de> for SystemOneResponse
impl<'de> Deserialize<'de> for SystemOneResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SystemOneResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SystemOneResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SystemOneResponse> for Answers
Wrap a response that was obtained some other way — read from a file, replayed from a log, or
parsed by a caller doing its own transport. The accessors are the useful part of this type,
and they should not be reachable only by going over the network.
impl From<SystemOneResponse> for Answers
Wrap a response that was obtained some other way — read from a file, replayed from a log, or parsed by a caller doing its own transport. The accessors are the useful part of this type, and they should not be reachable only by going over the network.
Source§fn from(response: SystemOneResponse) -> Self
fn from(response: SystemOneResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for SystemOneResponse
impl Serialize for SystemOneResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SystemOneResponse
impl RefUnwindSafe for SystemOneResponse
impl Send for SystemOneResponse
impl Sync for SystemOneResponse
impl Unpin for SystemOneResponse
impl UnsafeUnpin for SystemOneResponse
impl UnwindSafe for SystemOneResponse
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