Enum dasi::model::ChannelType
[−]
[src]
pub enum ChannelType { Text, Voice, }
The type of a channel
Variants
Text | A text channel, through which | |
Voice | A voice channel |
Methods
impl ChannelType
fn from_str(name: &str) -> Option<ChannelType>
Attempt to parse a ChannelType from a name
fn name(&self) -> &'static str
Get the name of this ChannelType