pub enum RunMessageAddressTargetRecord {
Run {
run_id: RunId,
},
Agent {
agent_id: AgentId,
},
Topic {
topic_id: TopicId,
},
Pool {
pool_id: AgentPoolId,
},
}Expand description
Enumerates the finite run message address target record cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
Run
Use this variant when the contract needs to represent run; selecting it has no side effect by itself.
Agent
Use this variant when the contract needs to represent agent; 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.
Pool
Use this variant when the contract needs to represent pool; selecting it has no side effect by itself.
Fields
§
pool_id: AgentPoolIdStable pool id used for typed lineage, lookup, or dedupe.
Trait Implementations§
Source§impl Clone for RunMessageAddressTargetRecord
impl Clone for RunMessageAddressTargetRecord
Source§fn clone(&self) -> RunMessageAddressTargetRecord
fn clone(&self) -> RunMessageAddressTargetRecord
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<'de> Deserialize<'de> for RunMessageAddressTargetRecord
impl<'de> Deserialize<'de> for RunMessageAddressTargetRecord
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 RunMessageAddressTargetRecord
Source§impl From<RunAddressTarget> for RunMessageAddressTargetRecord
impl From<RunAddressTarget> for RunMessageAddressTargetRecord
Source§fn from(value: RunAddressTarget) -> Self
fn from(value: RunAddressTarget) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RunMessageAddressTargetRecord
impl PartialEq for RunMessageAddressTargetRecord
Source§fn eq(&self, other: &RunMessageAddressTargetRecord) -> bool
fn eq(&self, other: &RunMessageAddressTargetRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RunMessageAddressTargetRecord
Auto Trait Implementations§
impl Freeze for RunMessageAddressTargetRecord
impl RefUnwindSafe for RunMessageAddressTargetRecord
impl Send for RunMessageAddressTargetRecord
impl Sync for RunMessageAddressTargetRecord
impl Unpin for RunMessageAddressTargetRecord
impl UnsafeUnpin for RunMessageAddressTargetRecord
impl UnwindSafe for RunMessageAddressTargetRecord
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