Enum rusmpp::commands::types::language_indicator::LanguageIndicator
source · #[repr(u8)]pub enum LanguageIndicator {
Unspecified = 0,
English = 1,
French = 2,
Spanish = 3,
German = 4,
Portuguese = 5,
Other(u8),
}
Expand description
Refer to [CMT-136] for other values
Variants§
Trait Implementations§
source§impl Clone for LanguageIndicator
impl Clone for LanguageIndicator
source§fn clone(&self) -> LanguageIndicator
fn clone(&self) -> LanguageIndicator
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 LanguageIndicator
impl Debug for LanguageIndicator
source§impl Default for LanguageIndicator
impl Default for LanguageIndicator
source§fn default() -> LanguageIndicator
fn default() -> LanguageIndicator
Returns the “default value” for a type. Read more
source§impl From<LanguageIndicator> for u8
impl From<LanguageIndicator> for u8
source§fn from(value: LanguageIndicator) -> Self
fn from(value: LanguageIndicator) -> Self
Converts to this type from the input type.
source§impl From<u8> for LanguageIndicator
impl From<u8> for LanguageIndicator
source§impl Hash for LanguageIndicator
impl Hash for LanguageIndicator
source§impl Ord for LanguageIndicator
impl Ord for LanguageIndicator
source§fn cmp(&self, other: &LanguageIndicator) -> Ordering
fn cmp(&self, other: &LanguageIndicator) -> 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 for LanguageIndicator
impl PartialEq for LanguageIndicator
source§fn eq(&self, other: &LanguageIndicator) -> bool
fn eq(&self, other: &LanguageIndicator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for LanguageIndicator
impl PartialOrd for LanguageIndicator
source§fn partial_cmp(&self, other: &LanguageIndicator) -> Option<Ordering>
fn partial_cmp(&self, other: &LanguageIndicator) -> 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 moreimpl Copy for LanguageIndicator
impl Eq for LanguageIndicator
impl StructuralPartialEq for LanguageIndicator
Auto Trait Implementations§
impl RefUnwindSafe for LanguageIndicator
impl Send for LanguageIndicator
impl Sync for LanguageIndicator
impl Unpin for LanguageIndicator
impl UnwindSafe for LanguageIndicator
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