Enum discord_flows::model::VideoQualityMode
source · pub enum VideoQualityMode {
Auto,
Full,
Unknown,
}
Expand description
The video quality mode for a voice channel.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
An indicator that the video quality is chosen by Discord for optimal performance.
Full
An indicator that the video quality is 720p.
Unknown
An indicator that video quality is of unknown type.
Implementations§
Trait Implementations§
source§impl Clone for VideoQualityMode
impl Clone for VideoQualityMode
source§fn clone(&self) -> VideoQualityMode
fn clone(&self) -> VideoQualityMode
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 VideoQualityMode
impl Debug for VideoQualityMode
source§impl<'de> Deserialize<'de> for VideoQualityMode
impl<'de> Deserialize<'de> for VideoQualityMode
source§fn deserialize<D>(
deserializer: D
) -> Result<VideoQualityMode, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<VideoQualityMode, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for VideoQualityMode
impl Hash for VideoQualityMode
source§impl Ord for VideoQualityMode
impl Ord for VideoQualityMode
source§fn cmp(&self, other: &VideoQualityMode) -> Ordering
fn cmp(&self, other: &VideoQualityMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<VideoQualityMode> for VideoQualityMode
impl PartialEq<VideoQualityMode> for VideoQualityMode
source§fn eq(&self, other: &VideoQualityMode) -> bool
fn eq(&self, other: &VideoQualityMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<VideoQualityMode> for VideoQualityMode
impl PartialOrd<VideoQualityMode> for VideoQualityMode
source§fn partial_cmp(&self, other: &VideoQualityMode) -> Option<Ordering>
fn partial_cmp(&self, other: &VideoQualityMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for VideoQualityMode
impl Serialize for VideoQualityMode
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for VideoQualityMode
impl Eq for VideoQualityMode
impl StructuralEq for VideoQualityMode
impl StructuralPartialEq for VideoQualityMode
Auto Trait Implementations§
impl RefUnwindSafe for VideoQualityMode
impl Send for VideoQualityMode
impl Sync for VideoQualityMode
impl Unpin for VideoQualityMode
impl UnwindSafe for VideoQualityMode
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