#[non_exhaustive]pub struct KnowledgeSummary {
pub scope: String,
pub summary: String,
pub model: String,
pub usage: TokenUsage,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.scope: String§summary: String§model: String§usage: TokenUsageTrait Implementations§
Source§impl Clone for KnowledgeSummary
impl Clone for KnowledgeSummary
Source§impl Debug for KnowledgeSummary
impl Debug for KnowledgeSummary
Source§impl<'de> Deserialize<'de> for KnowledgeSummary
impl<'de> Deserialize<'de> for KnowledgeSummary
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
impl Eq for KnowledgeSummary
Source§impl PartialEq for KnowledgeSummary
impl PartialEq for KnowledgeSummary
Source§impl Serialize for KnowledgeSummary
impl Serialize for KnowledgeSummary
impl StructuralPartialEq for KnowledgeSummary
Auto Trait Implementations§
impl Forget for KnowledgeSummary
impl Freeze for KnowledgeSummary
impl Move for KnowledgeSummary
impl RefUnwindSafe for KnowledgeSummary
impl Send for KnowledgeSummarywhere
RawVecInner: Send,
impl Sync for KnowledgeSummarywhere
RawVecInner: Sync,
impl Unpin for KnowledgeSummary
impl UnsafeUnpin for KnowledgeSummary
impl UnwindSafe for KnowledgeSummarywhere
RawVecInner: UnwindSafe,
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