pub enum LoadCondition {
Always,
Keywords(Vec<String>),
OnDemand,
Context,
}Expand description
Conditions for when to load a reference
Variants§
Always
Always load with the knowledge item
Keywords(Vec<String>)
Load when specific keywords are detected
OnDemand
Load when explicitly requested
Context
Load based on context analysis
Trait Implementations§
Source§impl Clone for LoadCondition
impl Clone for LoadCondition
Source§fn clone(&self) -> LoadCondition
fn clone(&self) -> LoadCondition
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 LoadCondition
impl Debug for LoadCondition
Source§impl<'de> Deserialize<'de> for LoadCondition
impl<'de> Deserialize<'de> for LoadCondition
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 LoadCondition
impl PartialEq for LoadCondition
Source§impl Serialize for LoadCondition
impl Serialize for LoadCondition
impl Eq for LoadCondition
impl StructuralPartialEq for LoadCondition
Auto Trait Implementations§
impl Freeze for LoadCondition
impl RefUnwindSafe for LoadCondition
impl Send for LoadCondition
impl Sync for LoadCondition
impl Unpin for LoadCondition
impl UnwindSafe for LoadCondition
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