pub struct ChannelCapabilitySet {
pub supports_review: bool,
pub supports_session: bool,
pub supports_notify: bool,
pub supports_rich_media: bool,
pub supports_threads: bool,
}Expand description
What a channel implementation can do.
Fields§
§supports_review: boolCan this channel deliver review interactions (approve/deny)?
supports_session: boolCan this channel stream session events (agent output, etc.)?
supports_notify: boolCan this channel deliver notifications?
supports_rich_media: boolDoes this channel support rich media (images, code blocks, buttons)?
supports_threads: boolDoes this channel support threaded conversations?
Trait Implementations§
Source§impl Clone for ChannelCapabilitySet
impl Clone for ChannelCapabilitySet
Source§fn clone(&self) -> ChannelCapabilitySet
fn clone(&self) -> ChannelCapabilitySet
Returns a duplicate of the value. Read more
1.0.0 · 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 ChannelCapabilitySet
impl Debug for ChannelCapabilitySet
Source§impl Default for ChannelCapabilitySet
impl Default for ChannelCapabilitySet
Source§impl<'de> Deserialize<'de> for ChannelCapabilitySet
impl<'de> Deserialize<'de> for ChannelCapabilitySet
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
Auto Trait Implementations§
impl Freeze for ChannelCapabilitySet
impl RefUnwindSafe for ChannelCapabilitySet
impl Send for ChannelCapabilitySet
impl Sync for ChannelCapabilitySet
impl Unpin for ChannelCapabilitySet
impl UnsafeUnpin for ChannelCapabilitySet
impl UnwindSafe for ChannelCapabilitySet
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