pub enum ContextBlockKind {
Show 13 variants
Instruction,
RepositoryFact,
Memory,
Knowledge,
RetrievedDocument,
Environment,
ToolAvailability,
SafetyPolicy,
TaskMetadata,
PriorSummary,
EntrypointHint,
RetrievalHint,
Other(String),
}Variants§
Instruction
RepositoryFact
Memory
Knowledge
RetrievedDocument
Environment
ToolAvailability
SafetyPolicy
TaskMetadata
PriorSummary
EntrypointHint
RetrievalHint
Other(String)
Trait Implementations§
Source§impl Clone for ContextBlockKind
impl Clone for ContextBlockKind
Source§fn clone(&self) -> ContextBlockKind
fn clone(&self) -> ContextBlockKind
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 ContextBlockKind
impl Debug for ContextBlockKind
Source§impl<'de> Deserialize<'de> for ContextBlockKind
impl<'de> Deserialize<'de> for ContextBlockKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContextBlockKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ContextBlockKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ContextBlockKind
impl PartialEq for ContextBlockKind
Source§fn eq(&self, other: &ContextBlockKind) -> bool
fn eq(&self, other: &ContextBlockKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ContextBlockKind
impl Serialize for ContextBlockKind
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 ContextBlockKind
Auto Trait Implementations§
impl Freeze for ContextBlockKind
impl RefUnwindSafe for ContextBlockKind
impl Send for ContextBlockKind
impl Sync for ContextBlockKind
impl Unpin for ContextBlockKind
impl UnsafeUnpin for ContextBlockKind
impl UnwindSafe for ContextBlockKind
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