pub enum MemoryNodeType {
Source,
Excerpt,
Embedding,
Summary,
Answer,
ValidationReport,
Catalog,
Route,
ContextPacket,
}Expand description
Memory node type.
Variants§
Trait Implementations§
Source§impl Clone for MemoryNodeType
impl Clone for MemoryNodeType
Source§fn clone(&self) -> MemoryNodeType
fn clone(&self) -> MemoryNodeType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MemoryNodeType
Source§impl Debug for MemoryNodeType
impl Debug for MemoryNodeType
Source§impl<'de> Deserialize<'de> for MemoryNodeType
impl<'de> Deserialize<'de> for MemoryNodeType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryNodeType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MemoryNodeType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MemoryNodeType
Source§impl Ord for MemoryNodeType
impl Ord for MemoryNodeType
Source§fn cmp(&self, other: &MemoryNodeType) -> Ordering
fn cmp(&self, other: &MemoryNodeType) -> Ordering
1.21.0 (const: unstable) · 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 MemoryNodeType
impl PartialEq for MemoryNodeType
Source§fn eq(&self, other: &MemoryNodeType) -> bool
fn eq(&self, other: &MemoryNodeType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MemoryNodeType
impl PartialOrd for MemoryNodeType
Source§impl Serialize for MemoryNodeType
impl Serialize for MemoryNodeType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MemoryNodeType
Auto Trait Implementations§
impl Freeze for MemoryNodeType
impl RefUnwindSafe for MemoryNodeType
impl Send for MemoryNodeType
impl Sync for MemoryNodeType
impl Unpin for MemoryNodeType
impl UnsafeUnpin for MemoryNodeType
impl UnwindSafe for MemoryNodeType
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