pub struct AssistantDiagnostics {
pub cache_miss_reason: Option<CacheMissReason>,
}Expand description
Diagnostics container on AssistantMessage. Currently always shaped as
{ "cache_miss_reason": … } but boxed as a struct so future sibling
keys can be added without breaking deserialization.
Fields§
§cache_miss_reason: Option<CacheMissReason>Trait Implementations§
Source§impl Clone for AssistantDiagnostics
impl Clone for AssistantDiagnostics
Source§fn clone(&self) -> AssistantDiagnostics
fn clone(&self) -> AssistantDiagnostics
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 AssistantDiagnostics
impl Debug for AssistantDiagnostics
Source§impl<'de> Deserialize<'de> for AssistantDiagnostics
impl<'de> Deserialize<'de> for AssistantDiagnostics
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 AssistantDiagnostics
impl RefUnwindSafe for AssistantDiagnostics
impl Send for AssistantDiagnostics
impl Sync for AssistantDiagnostics
impl Unpin for AssistantDiagnostics
impl UnsafeUnpin for AssistantDiagnostics
impl UnwindSafe for AssistantDiagnostics
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