Struct jep106::JEP106Code [−][src]
Expand description
A Struct which contains a fully qualified JEP106 manufacturer code.
Fields
id: u8
JEP106 identification code.
Points to a manufacturer name in the bank table corresponding to cc
.
cc: u8
JEP106 continuation code.
This code represents the bank which the manufacturer for a corresponding id
has to be looked up.
Implementations
Creates a new JEP106Code struct from a JEP106 continuation code and a JEP106 id code tuple.
Returns the manufacturer corresponding to a complete JEP106 code.
Returns an empty string if the JEP106 code is unknown.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for JEP106Code
impl Send for JEP106Code
impl Sync for JEP106Code
impl Unpin for JEP106Code
impl UnwindSafe for JEP106Code
Blanket Implementations
Mutably borrows from an owned value. Read more