Enum rusmpp::commands::types::data_coding::DataCoding
source · #[repr(u8)]pub enum DataCoding {
Show 17 variants
McSpesific = 0,
Ia5 = 1,
OctetUnspecified = 2,
Latin1 = 3,
OctetUnspecified2 = 4,
Jis = 5,
Cyrillic = 6,
LatinHebrew = 7,
Ucs2 = 8,
PictogramEncoding = 9,
Iso2022JpMusicCodes = 10,
ExtendedKanjiJis = 13,
Ksc5601 = 14,
GsmMwiControl = 192,
GsmMwiControl2 = 208,
GsmMessageClassControl = 224,
Other(u8),
}Variants§
McSpesific = 0
Ia5 = 1
OctetUnspecified = 2
Latin1 = 3
OctetUnspecified2 = 4
Jis = 5
Cyrillic = 6
LatinHebrew = 7
Ucs2 = 8
PictogramEncoding = 9
Iso2022JpMusicCodes = 10
ExtendedKanjiJis = 13
Ksc5601 = 14
GsmMwiControl = 192
GsmMwiControl2 = 208
GsmMessageClassControl = 224
Other(u8)
Trait Implementations§
source§impl Clone for DataCoding
impl Clone for DataCoding
source§fn clone(&self) -> DataCoding
fn clone(&self) -> DataCoding
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 DataCoding
impl Debug for DataCoding
source§impl Default for DataCoding
impl Default for DataCoding
source§fn default() -> DataCoding
fn default() -> DataCoding
Returns the “default value” for a type. Read more
source§impl From<DataCoding> for u8
impl From<DataCoding> for u8
source§fn from(value: DataCoding) -> Self
fn from(value: DataCoding) -> Self
Converts to this type from the input type.
source§impl From<u8> for DataCoding
impl From<u8> for DataCoding
source§impl Hash for DataCoding
impl Hash for DataCoding
source§impl Ord for DataCoding
impl Ord for DataCoding
source§fn cmp(&self, other: &DataCoding) -> Ordering
fn cmp(&self, other: &DataCoding) -> 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 DataCoding
impl PartialEq for DataCoding
source§fn eq(&self, other: &DataCoding) -> bool
fn eq(&self, other: &DataCoding) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for DataCoding
impl PartialOrd for DataCoding
source§fn partial_cmp(&self, other: &DataCoding) -> Option<Ordering>
fn partial_cmp(&self, other: &DataCoding) -> 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 DataCoding
impl Eq for DataCoding
impl StructuralPartialEq for DataCoding
Auto Trait Implementations§
impl Freeze for DataCoding
impl RefUnwindSafe for DataCoding
impl Send for DataCoding
impl Sync for DataCoding
impl Unpin for DataCoding
impl UnwindSafe for DataCoding
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