pub enum IntegratorScope {
Ceremony {
ceremony_id: CeremonyId,
},
SystemExecution {
system_execution_id: AgenticSystemExecutionId,
},
}Expand description
What an integrator is bound to.
One ceremony, or one execution of a composed system that owns several. The second exists so an integrator driving a system is woken once for the whole of it instead of once per ceremony.
Variants§
Ceremony
Fields
§
ceremony_id: CeremonyIdSystemExecution
Fields
§
system_execution_id: AgenticSystemExecutionIdImplementations§
Source§impl IntegratorScope
impl IntegratorScope
pub const fn ceremony(ceremony_id: CeremonyId) -> Self
pub const fn system_execution( system_execution_id: AgenticSystemExecutionId, ) -> Self
Sourcepub fn scope_key(&self) -> IntegratorScopeKey
pub fn scope_key(&self) -> IntegratorScopeKey
The stable spelling this scope is stored under.
Sourcepub const fn ceremony_id(&self) -> Option<&CeremonyId>
pub const fn ceremony_id(&self) -> Option<&CeremonyId>
The ceremony this scope names, when it names one.
Sourcepub const fn system_execution_id(&self) -> Option<&AgenticSystemExecutionId>
pub const fn system_execution_id(&self) -> Option<&AgenticSystemExecutionId>
The system execution this scope names, when it names one.
Trait Implementations§
Source§impl Clone for IntegratorScope
impl Clone for IntegratorScope
Source§impl Debug for IntegratorScope
impl Debug for IntegratorScope
Source§impl<'de> Deserialize<'de> for IntegratorScope
impl<'de> Deserialize<'de> for IntegratorScope
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 IntegratorScope
Source§impl Hash for IntegratorScope
impl Hash for IntegratorScope
Source§impl Ord for IntegratorScope
impl Ord for IntegratorScope
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for IntegratorScope
impl PartialEq for IntegratorScope
Source§impl PartialOrd for IntegratorScope
impl PartialOrd for IntegratorScope
Source§impl Serialize for IntegratorScope
impl Serialize for IntegratorScope
impl StructuralPartialEq for IntegratorScope
Auto Trait Implementations§
impl Freeze for IntegratorScope
impl RefUnwindSafe for IntegratorScope
impl Send for IntegratorScope
impl Sync for IntegratorScope
impl Unpin for IntegratorScope
impl UnsafeUnpin for IntegratorScope
impl UnwindSafe for IntegratorScope
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