pub enum InjectionMode {
Full,
Summary,
TopK(usize),
Relevant(f32),
}Expand description
Injection modes for context assembly.
Variants§
Trait Implementations§
Source§impl Clone for InjectionMode
impl Clone for InjectionMode
Source§fn clone(&self) -> InjectionMode
fn clone(&self) -> InjectionMode
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 InjectionMode
impl Debug for InjectionMode
Source§impl<'de> Deserialize<'de> for InjectionMode
impl<'de> Deserialize<'de> for InjectionMode
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 Display for InjectionMode
impl Display for InjectionMode
Source§impl PartialEq for InjectionMode
impl PartialEq for InjectionMode
Source§impl Serialize for InjectionMode
impl Serialize for InjectionMode
impl StructuralPartialEq for InjectionMode
Auto Trait Implementations§
impl Freeze for InjectionMode
impl RefUnwindSafe for InjectionMode
impl Send for InjectionMode
impl Sync for InjectionMode
impl Unpin for InjectionMode
impl UnwindSafe for InjectionMode
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