pub struct JobDeliver {
pub target: Option<String>,
pub chat_id: Option<String>,
pub thread_id: Option<String>,
pub account: Option<String>,
pub mode: Option<String>,
}Expand description
Where a fire’s output is delivered.
target is WHERE and mode is HOW, for the one harness that separates
them. Hermes’s deliver word names a destination (origin | local |
home | <platform> | <platform>:<chat>[:<thread>]) and it has no mode;
OpenClaw declares both, a mode (announce | webhook | none) and a
channel/to/account address. Folding OpenClaw’s mode into target — as
this row did before ORCH-13 — left the channel it actually announces on
nowhere to go, so the mode moved to its own field.
Fields§
§target: Option<String>Hermes deliver (origin | local | home | <platform> |
<platform>:<chat_id>), OpenClaw’s delivery channel (--channel), or
session for a Claude Code job, whose fire is a turn injected back
into its own session.
chat_id: Option<String>Chat the delivery is addressed to: Hermes origin.chat_id (or the
chat in an explicit <platform>:<chat> target), OpenClaw --to.
thread_id: Option<String>Thread inside that chat, when the store names one: Hermes
origin.thread_id, OpenClaw delivery_thread_id.
account: Option<String>Channel account the delivery goes out through (OpenClaw
delivery_account_id). Hermes routes by adapter profile, not account,
so it is empty there.
mode: Option<String>OpenClaw’s delivery mode (announce | webhook | none). Empty for
Hermes and Claude Code, neither of which has a mode word.
Trait Implementations§
Source§impl Clone for JobDeliver
impl Clone for JobDeliver
Source§fn clone(&self) -> JobDeliver
fn clone(&self) -> JobDeliver
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 JobDeliver
impl Debug for JobDeliver
Source§impl<'de> Deserialize<'de> for JobDeliver
impl<'de> Deserialize<'de> for JobDeliver
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<JobDeliver, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<JobDeliver, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for JobDeliver
Source§impl PartialEq for JobDeliver
impl PartialEq for JobDeliver
Source§impl Serialize for JobDeliver
impl Serialize for JobDeliver
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,
impl StructuralPartialEq for JobDeliver
Auto Trait Implementations§
impl Freeze for JobDeliver
impl RefUnwindSafe for JobDeliver
impl Send for JobDeliver
impl Sync for JobDeliver
impl Unpin for JobDeliver
impl UnsafeUnpin for JobDeliver
impl UnwindSafe for JobDeliver
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
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
key and return true if they are equal.