pub struct JevResponse {
pub model: String,
pub answers: HashMap<String, Answer>,
pub usage: JevUsage,
pub is_mock: bool,
pub degraded_reason: String,
}Expand description
Complete response from Jev System One.
Fields§
§model: String§answers: HashMap<String, Answer>§usage: JevUsage§is_mock: bool§degraded_reason: StringSet when the answer came from a fallback (auth_401, http_500, timeout, connection).
Trait Implementations§
Source§impl Clone for JevResponse
impl Clone for JevResponse
Source§impl Debug for JevResponse
impl Debug for JevResponse
Source§impl<'de> Deserialize<'de> for JevResponse
impl<'de> Deserialize<'de> for JevResponse
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 PartialEq for JevResponse
impl PartialEq for JevResponse
Source§impl Serialize for JevResponse
impl Serialize for JevResponse
impl StructuralPartialEq for JevResponse
Auto Trait Implementations§
impl Freeze for JevResponse
impl RefUnwindSafe for JevResponse
impl Send for JevResponse
impl Sync for JevResponse
impl Unpin for JevResponse
impl UnsafeUnpin for JevResponse
impl UnwindSafe for JevResponse
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