#[non_exhaustive]pub struct ConversationCompactOutput {
pub compacted: bool,
pub messages_summarized: Integer,
pub summary_msg_id: String,
pub tokens_in: Integer,
pub tokens_out: Integer,
pub reason: String,
}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.compacted: bool§messages_summarized: Integer§summary_msg_id: String§tokens_in: Integer§tokens_out: Integer§reason: StringTrait Implementations§
Source§impl Clone for ConversationCompactOutput
impl Clone for ConversationCompactOutput
Source§impl Debug for ConversationCompactOutput
impl Debug for ConversationCompactOutput
Source§impl<'de> Deserialize<'de> for ConversationCompactOutput
impl<'de> Deserialize<'de> for ConversationCompactOutput
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 StructuralPartialEq for ConversationCompactOutput
Auto Trait Implementations§
impl Forget for ConversationCompactOutput
impl Freeze for ConversationCompactOutput
impl Move for ConversationCompactOutput
impl RefUnwindSafe for ConversationCompactOutput
impl Send for ConversationCompactOutput
impl Sync for ConversationCompactOutput
impl Unpin for ConversationCompactOutput
impl UnsafeUnpin for ConversationCompactOutput
impl UnwindSafe for ConversationCompactOutput
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