pub enum ChannelVisibility {
Private,
PrivateGroup,
Public,
PublicExternal,
Internal,
}Expand description
Visibility level of the channel the message originated from.
Variants§
Private
Direct message (1-on-1). Full memory, no restrictions.
PrivateGroup
Small private group (e.g., Telegram group, Slack MPIM). Cautious with sensitive info.
Public
Public channel visible to many users. No personal memory injected.
PublicExternal
Untrusted public platform (Twitter, public APIs). Hardened security, minimal memory.
Internal
Internal/system-initiated (scheduler, triggers, sub-agents default). Full memory.
Implementations§
Source§impl ChannelVisibility
impl ChannelVisibility
Sourcepub fn from_str_lossy(s: &str) -> ChannelVisibility
pub fn from_str_lossy(s: &str) -> ChannelVisibility
Parse from a string (e.g., from tool args). Falls back to Internal.
Trait Implementations§
Source§impl Clone for ChannelVisibility
impl Clone for ChannelVisibility
Source§fn clone(&self) -> ChannelVisibility
fn clone(&self) -> ChannelVisibility
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 moreimpl Copy for ChannelVisibility
Source§impl Debug for ChannelVisibility
impl Debug for ChannelVisibility
Source§impl Display for ChannelVisibility
impl Display for ChannelVisibility
impl Eq for ChannelVisibility
Source§impl PartialEq for ChannelVisibility
impl PartialEq for ChannelVisibility
impl StructuralPartialEq for ChannelVisibility
Auto Trait Implementations§
impl Forget for ChannelVisibility
impl Freeze for ChannelVisibility
impl Move for ChannelVisibility
impl RefUnwindSafe for ChannelVisibility
impl Send for ChannelVisibility
impl Sync for ChannelVisibility
impl Unpin for ChannelVisibility
impl UnsafeUnpin for ChannelVisibility
impl UnwindSafe for ChannelVisibility
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more