pub enum ContextUsageType {
Manual,
Automatic,
SearchResult,
DocumentReference,
}Expand description
How a context item was used
Variants§
Manual
Added manually by user
Automatic
Added automatically by system
SearchResult
Added from search results
DocumentReference
Added from document reference
Trait Implementations§
Source§impl Clone for ContextUsageType
impl Clone for ContextUsageType
Source§fn clone(&self) -> ContextUsageType
fn clone(&self) -> ContextUsageType
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 ContextUsageType
impl Debug for ContextUsageType
Source§impl<'de> Deserialize<'de> for ContextUsageType
impl<'de> Deserialize<'de> for ContextUsageType
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 ContextUsageType
impl PartialEq for ContextUsageType
Source§impl Serialize for ContextUsageType
impl Serialize for ContextUsageType
impl Eq for ContextUsageType
impl StructuralPartialEq for ContextUsageType
Auto Trait Implementations§
impl Freeze for ContextUsageType
impl RefUnwindSafe for ContextUsageType
impl Send for ContextUsageType
impl Sync for ContextUsageType
impl Unpin for ContextUsageType
impl UnwindSafe for ContextUsageType
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