pub enum ContextEdit {
Compact {
strategy: String,
},
}Expand description
A context editing operation.
Variants§
Compact
Compact conversation history using the named strategy.
Trait Implementations§
Source§impl Clone for ContextEdit
impl Clone for ContextEdit
Source§fn clone(&self) -> ContextEdit
fn clone(&self) -> ContextEdit
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 ContextEdit
impl Debug for ContextEdit
Source§impl<'de> Deserialize<'de> for ContextEdit
impl<'de> Deserialize<'de> for ContextEdit
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 ContextEdit
impl PartialEq for ContextEdit
Source§impl Serialize for ContextEdit
impl Serialize for ContextEdit
impl StructuralPartialEq for ContextEdit
Auto Trait Implementations§
impl Freeze for ContextEdit
impl RefUnwindSafe for ContextEdit
impl Send for ContextEdit
impl Sync for ContextEdit
impl Unpin for ContextEdit
impl UnsafeUnpin for ContextEdit
impl UnwindSafe for ContextEdit
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