pub enum VoiceChannel {
Ch1,
Ch2,
Ch3,
Ch4,
}Expand description
Voice message channel number (1-4).
Variants§
Ch1
Channel 1 (up to 30 seconds).
Ch2
Channel 2 (up to 15 seconds).
Ch3
Channel 3 (up to 15 seconds).
Ch4
Channel 4 (up to 15 seconds).
Implementations§
Source§impl VoiceChannel
impl VoiceChannel
Trait Implementations§
Source§impl Clone for VoiceChannel
impl Clone for VoiceChannel
Source§fn clone(&self) -> VoiceChannel
fn clone(&self) -> VoiceChannel
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 VoiceChannel
impl Debug for VoiceChannel
Source§impl Hash for VoiceChannel
impl Hash for VoiceChannel
Source§impl PartialEq for VoiceChannel
impl PartialEq for VoiceChannel
impl Copy for VoiceChannel
impl Eq for VoiceChannel
impl StructuralPartialEq for VoiceChannel
Auto Trait Implementations§
impl Freeze for VoiceChannel
impl RefUnwindSafe for VoiceChannel
impl Send for VoiceChannel
impl Sync for VoiceChannel
impl Unpin for VoiceChannel
impl UnwindSafe for VoiceChannel
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