pub enum AiContextItemKind {
Show 13 variants
Message,
Document,
File,
WebPage,
Code,
Table,
Image,
Audio,
ToolResult,
Memory,
RetrievedChunk,
Metadata,
Custom,
}Variants§
Message
Document
File
WebPage
Code
Table
Image
Audio
ToolResult
Memory
RetrievedChunk
Metadata
Custom
Implementations§
Trait Implementations§
Source§impl Clone for AiContextItemKind
impl Clone for AiContextItemKind
Source§fn clone(&self) -> AiContextItemKind
fn clone(&self) -> AiContextItemKind
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 AiContextItemKind
impl Debug for AiContextItemKind
Source§impl Display for AiContextItemKind
impl Display for AiContextItemKind
Source§impl FromStr for AiContextItemKind
impl FromStr for AiContextItemKind
Source§impl Hash for AiContextItemKind
impl Hash for AiContextItemKind
Source§impl Ord for AiContextItemKind
impl Ord for AiContextItemKind
Source§fn cmp(&self, other: &AiContextItemKind) -> Ordering
fn cmp(&self, other: &AiContextItemKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AiContextItemKind
impl PartialEq for AiContextItemKind
Source§impl PartialOrd for AiContextItemKind
impl PartialOrd for AiContextItemKind
impl Copy for AiContextItemKind
impl Eq for AiContextItemKind
impl StructuralPartialEq for AiContextItemKind
Auto Trait Implementations§
impl Freeze for AiContextItemKind
impl RefUnwindSafe for AiContextItemKind
impl Send for AiContextItemKind
impl Sync for AiContextItemKind
impl Unpin for AiContextItemKind
impl UnsafeUnpin for AiContextItemKind
impl UnwindSafe for AiContextItemKind
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