Enum mccs_db::TableInterpretation
source · pub enum TableInterpretation {
Generic,
CodePage,
}
Expand description
Describes how to interpret a table’s raw value.
Variants§
Generic
Generic unparsed data.
CodePage
First byte is the code page where 0x00
is the default.
The range of 0xe0
to 0xff
is defined for factory use. All other
values are reserved. The size of the table is unclear from the spec,
maybe 4 or maybe 1?
Implementations§
Trait Implementations§
source§impl Clone for TableInterpretation
impl Clone for TableInterpretation
source§fn clone(&self) -> TableInterpretation
fn clone(&self) -> TableInterpretation
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 TableInterpretation
impl Debug for TableInterpretation
source§impl Default for TableInterpretation
impl Default for TableInterpretation
source§impl Hash for TableInterpretation
impl Hash for TableInterpretation
source§impl Ord for TableInterpretation
impl Ord for TableInterpretation
source§fn cmp(&self, other: &TableInterpretation) -> Ordering
fn cmp(&self, other: &TableInterpretation) -> 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<TableInterpretation> for TableInterpretation
impl PartialEq<TableInterpretation> for TableInterpretation
source§fn eq(&self, other: &TableInterpretation) -> bool
fn eq(&self, other: &TableInterpretation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TableInterpretation> for TableInterpretation
impl PartialOrd<TableInterpretation> for TableInterpretation
source§fn partial_cmp(&self, other: &TableInterpretation) -> Option<Ordering>
fn partial_cmp(&self, other: &TableInterpretation) -> 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 TableInterpretation
impl Eq for TableInterpretation
impl StructuralEq for TableInterpretation
impl StructuralPartialEq for TableInterpretation
Auto Trait Implementations§
impl RefUnwindSafe for TableInterpretation
impl Send for TableInterpretation
impl Sync for TableInterpretation
impl Unpin for TableInterpretation
impl UnwindSafe for TableInterpretation
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.