pub struct ContextSelection {
pub messages: Vec<Message>,
pub before_tokens: usize,
pub after_tokens: usize,
pub removed_messages: usize,
}Fields§
§messages: Vec<Message>§before_tokens: usize§after_tokens: usize§removed_messages: usizeTrait Implementations§
Source§impl Clone for ContextSelection
impl Clone for ContextSelection
Source§fn clone(&self) -> ContextSelection
fn clone(&self) -> ContextSelection
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 moreAuto Trait Implementations§
impl Freeze for ContextSelection
impl RefUnwindSafe for ContextSelection
impl Send for ContextSelection
impl Sync for ContextSelection
impl Unpin for ContextSelection
impl UnsafeUnpin for ContextSelection
impl UnwindSafe for ContextSelection
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