pub struct OrchestrationNouns {
pub trigger: Option<Trigger>,
pub surface: Option<SurfaceKey>,
pub profile: Option<String>,
pub recurrence: Option<Recurrence>,
pub cross_surface: Option<CrossSurface>,
pub workspace: Option<WorkspaceRef>,
}Expand description
ORCH-6: the ORCH-3 conversation nouns as one additive wire block, carried
by harness.v1.sessions.discover / sessions.load rows and by
crate::catalog::SessionDescriptor. Every field is optional so an older
client sees exactly the shape it already knows.
Fields§
§trigger: Option<Trigger>Why the session exists.
surface: Option<SurfaceKey>Where the conversation is reached.
profile: Option<String>Routed config home (Hermes profile / OpenClaw agent).
recurrence: Option<Recurrence>The job a recurring session belongs to.
cross_surface: Option<CrossSurface>Moved-to-another-surface state.
workspace: Option<WorkspaceRef>Typed workspace (the D2 precedence result).
Implementations§
Source§impl OrchestrationNouns
impl OrchestrationNouns
Sourcepub fn from_meta(meta: &SessionMeta) -> OrchestrationNouns
pub fn from_meta(meta: &SessionMeta) -> OrchestrationNouns
Read the nouns off a loaded session’s metadata. trigger and
workspace always resolve — through SessionMeta::trigger_or_default
and SessionMeta::workspace, never through a second derivation.
Trait Implementations§
Source§impl Clone for OrchestrationNouns
impl Clone for OrchestrationNouns
Source§fn clone(&self) -> OrchestrationNouns
fn clone(&self) -> OrchestrationNouns
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 OrchestrationNouns
impl Debug for OrchestrationNouns
Source§impl Default for OrchestrationNouns
impl Default for OrchestrationNouns
Source§fn default() -> OrchestrationNouns
fn default() -> OrchestrationNouns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OrchestrationNouns
impl<'de> Deserialize<'de> for OrchestrationNouns
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OrchestrationNouns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OrchestrationNouns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OrchestrationNouns
Source§impl PartialEq for OrchestrationNouns
impl PartialEq for OrchestrationNouns
Source§impl Serialize for OrchestrationNouns
impl Serialize for OrchestrationNouns
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 OrchestrationNouns
Auto Trait Implementations§
impl Freeze for OrchestrationNouns
impl RefUnwindSafe for OrchestrationNouns
impl Send for OrchestrationNouns
impl Sync for OrchestrationNouns
impl Unpin for OrchestrationNouns
impl UnsafeUnpin for OrchestrationNouns
impl UnwindSafe for OrchestrationNouns
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.