pub enum ObjectKind {
ToolResult,
Memory,
Knowledge,
Artifact,
AgentResult,
Dataset,
File,
WorkflowOutput,
Custom(CompactString),
}Expand description
spc_006-05: what an ObjectDescriptor refers to. A pure additive extension over
HandleKind (see From<HandleKind> for ObjectKind)
— every existing HandleKind maps onto exactly one ObjectKind, HandleKind itself is
untouched, and Handle/HandleTable keep working unmodified (spc_006 §4: Public
Memory/Knowledge/Artifact/ToolResult naming is unchanged; only the Kernel-internal
descriptor is unified).
Variants§
Trait Implementations§
Source§impl Clone for ObjectKind
impl Clone for ObjectKind
Source§fn clone(&self) -> ObjectKind
fn clone(&self) -> ObjectKind
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 moreSource§impl Debug for ObjectKind
impl Debug for ObjectKind
Source§impl<'de> Deserialize<'de> for ObjectKind
impl<'de> Deserialize<'de> for ObjectKind
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
impl Eq for ObjectKind
Source§impl From<HandleKind> for ObjectKind
impl From<HandleKind> for ObjectKind
Source§fn from(kind: HandleKind) -> Self
fn from(kind: HandleKind) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ObjectKind
impl PartialEq for ObjectKind
Source§impl Serialize for ObjectKind
impl Serialize for ObjectKind
impl StructuralPartialEq for ObjectKind
Auto Trait Implementations§
impl Freeze for ObjectKind
impl RefUnwindSafe for ObjectKind
impl Send for ObjectKind
impl Sync for ObjectKind
impl Unpin for ObjectKind
impl UnsafeUnpin for ObjectKind
impl UnwindSafe for ObjectKind
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