pub struct ChannelRow {
pub name: String,
pub harness: String,
pub kind: String,
pub account: Option<String>,
pub enabled: Option<bool>,
pub configured: bool,
pub status: ChannelStatus,
pub sessions: Option<u64>,
}Expand description
One transport + account a harness is reachable on, uniform across harnesses.
Fields§
§name: StringUnique handle within the harness: the transport id for a single
account (telegram), <transport>/<account> when the harness’s
config splits one transport across several accounts.
harness: StringOwning harness id.
kind: StringTransport id: a Hermes Platform value or an OpenClaw channel key
(telegram, slack, discord, api_server, webhook, …).
account: Option<String>Public account id or label; None when the config names none. Never
a token, key or secret.
enabled: Option<bool>Whether the harness would start this channel. None when the config
does not say and the harness’s own default is not stated in a source
this workspace pins.
configured: boolWhether the entry has what the harness needs to start it, judged only by the PRESENCE of a credential key or credential env var.
status: ChannelStatusConnection state; always ChannelStatus::Unknown at this tier.
sessions: Option<u64>Discovered sessions whose surface platform is this row’s kind;
None when discovery could not run. Rows that share a kind across
accounts share the count — a session key names the transport, not
the account.
Trait Implementations§
Source§impl Clone for ChannelRow
impl Clone for ChannelRow
Source§fn clone(&self) -> ChannelRow
fn clone(&self) -> ChannelRow
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 ChannelRow
impl Debug for ChannelRow
Source§impl<'de> Deserialize<'de> for ChannelRow
impl<'de> Deserialize<'de> for ChannelRow
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 ChannelRow
Source§impl PartialEq for ChannelRow
impl PartialEq for ChannelRow
Source§impl Serialize for ChannelRow
impl Serialize for ChannelRow
impl StructuralPartialEq for ChannelRow
Auto Trait Implementations§
impl Freeze for ChannelRow
impl RefUnwindSafe for ChannelRow
impl Send for ChannelRow
impl Sync for ChannelRow
impl Unpin for ChannelRow
impl UnsafeUnpin for ChannelRow
impl UnwindSafe for ChannelRow
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.