pub struct ChannelCapabilities {
pub text: bool,
pub images: bool,
pub videos: bool,
pub voice: bool,
pub files: bool,
pub threads: bool,
pub reactions: bool,
pub editing: bool,
pub deletion: bool,
}Expand description
Channel capabilities.
Fields§
§text: boolSupports text messages.
images: boolSupports images.
videos: boolSupports videos.
voice: boolSupports voice messages.
files: boolSupports files.
threads: boolSupports threads.
reactions: boolSupports reactions.
editing: boolSupports editing messages.
deletion: boolSupports deleting messages.
Trait Implementations§
Source§impl Clone for ChannelCapabilities
impl Clone for ChannelCapabilities
Source§fn clone(&self) -> ChannelCapabilities
fn clone(&self) -> ChannelCapabilities
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 ChannelCapabilities
impl Debug for ChannelCapabilities
Source§impl Default for ChannelCapabilities
impl Default for ChannelCapabilities
Source§fn default() -> ChannelCapabilities
fn default() -> ChannelCapabilities
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChannelCapabilities
impl RefUnwindSafe for ChannelCapabilities
impl Send for ChannelCapabilities
impl Sync for ChannelCapabilities
impl Unpin for ChannelCapabilities
impl UnwindSafe for ChannelCapabilities
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