pub enum DestinationKind {
Show 16 variants
Agent,
AgentPool,
Topic,
Provider,
ContextProjection,
Journal,
EventStream,
Telemetry,
OutputSink,
Host,
User,
RemoteChannel,
Tool,
Extension,
Subagent,
ExternalRuntime,
}Expand description
Enumerates the finite destination kind cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Agent
Use this variant when the contract needs to represent agent; selecting it has no side effect by itself.
AgentPool
Use this variant when the contract needs to represent agent pool; selecting it has no side effect by itself.
Topic
Use this variant when the contract needs to represent topic; selecting it has no side effect by itself.
Provider
Use this variant when the contract needs to represent provider; selecting it has no side effect by itself.
ContextProjection
Use this variant when the contract needs to represent context projection; selecting it has no side effect by itself.
Journal
Use this variant when the contract needs to represent journal; selecting it has no side effect by itself.
EventStream
Use this variant when the contract needs to represent event stream; selecting it has no side effect by itself.
Telemetry
Use this variant when the contract needs to represent telemetry; selecting it has no side effect by itself.
OutputSink
Use this variant when the contract needs to represent output sink; selecting it has no side effect by itself.
Host
Use this variant when the contract needs to represent host; selecting it has no side effect by itself.
User
Use this variant when the contract needs to represent user; selecting it has no side effect by itself.
RemoteChannel
Use this variant when the contract needs to represent remote channel; selecting it has no side effect by itself.
Tool
Use this variant when the contract needs to represent tool; selecting it has no side effect by itself.
Extension
Use this variant when the contract needs to represent extension; selecting it has no side effect by itself.
Subagent
Use this variant when the contract needs to represent subagent; selecting it has no side effect by itself.
ExternalRuntime
Use this variant when the contract needs to represent external runtime; selecting it has no side effect by itself.
Trait Implementations§
Source§impl Clone for DestinationKind
impl Clone for DestinationKind
Source§fn clone(&self) -> DestinationKind
fn clone(&self) -> DestinationKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DestinationKind
impl Debug for DestinationKind
Source§impl<'de> Deserialize<'de> for DestinationKind
impl<'de> Deserialize<'de> for DestinationKind
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>,
impl Eq for DestinationKind
Source§impl Hash for DestinationKind
impl Hash for DestinationKind
Source§impl Ord for DestinationKind
impl Ord for DestinationKind
Source§fn cmp(&self, other: &DestinationKind) -> Ordering
fn cmp(&self, other: &DestinationKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for DestinationKind
impl PartialEq for DestinationKind
Source§fn eq(&self, other: &DestinationKind) -> bool
fn eq(&self, other: &DestinationKind) -> bool
self and other values to be equal, and is used by ==.