#[repr(transparent)]pub struct Code {
value: u8,
}
Expand description
An indicator or subfield code.
Fields§
§value: u8
Trait Implementations§
source§impl<'de> Deserialize<'de> for Code
impl<'de> Deserialize<'de> for Code
source§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
source§impl PartialEq<char> for Code
impl PartialEq<char> for Code
source§impl PartialEq for Code
impl PartialEq for Code
impl Copy for Code
impl Eq for Code
impl StructuralEq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.