Enum polyphony_types::entities::ChannelType
source · #[repr(i32)]pub enum ChannelType {
Show 21 variants
GuildText,
Dm,
GuildVoice,
GroupDm,
GuildCategory,
GuildNews,
GuildStore,
Encrypted,
EncryptedThreads,
Transactional,
GuildNewsThread,
GuildPublicThread,
GuildPrivateThread,
GuildStageVoice,
Directory,
GuildForum,
TicketTracker,
Kanban,
VoicelessWhiteboard,
CustomStart,
Unhandled,
}Variants§
GuildText
Dm
GuildVoice
GroupDm
GuildCategory
GuildNews
GuildStore
Encrypted
EncryptedThreads
Transactional
GuildNewsThread
GuildPublicThread
GuildPrivateThread
GuildStageVoice
Directory
GuildForum
TicketTracker
Kanban
VoicelessWhiteboard
CustomStart
Unhandled
Trait Implementations§
source§impl Clone for ChannelType
impl Clone for ChannelType
source§fn clone(&self) -> ChannelType
fn clone(&self) -> ChannelType
Returns a copy 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 ChannelType
impl Debug for ChannelType
source§impl Default for ChannelType
impl Default for ChannelType
source§fn default() -> ChannelType
fn default() -> ChannelType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChannelType
impl<'de> Deserialize<'de> for ChannelType
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
source§impl Serialize for ChannelType
impl Serialize for ChannelType
impl Copy for ChannelType
Auto Trait Implementations§
impl RefUnwindSafe for ChannelType
impl Send for ChannelType
impl Sync for ChannelType
impl Unpin for ChannelType
impl UnwindSafe for ChannelType
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