Struct sep2_common::packages::primitives::HexBinary16
source · pub struct HexBinary16(pub u16);
Expand description
A 16-bit field encoded as a hex string (4 hex characters max). Where applicable, bit 0, or the least significant bit, goes on the right. Note that hexBinary requires pairs of hex characters, so an odd number of characters requires a leading “0”.
Tuple Fields§
§0: u16
Trait Implementations§
source§impl Clone for HexBinary16
impl Clone for HexBinary16
source§fn clone(&self) -> HexBinary16
fn clone(&self) -> HexBinary16
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 HexBinary16
impl Debug for HexBinary16
source§impl Default for HexBinary16
impl Default for HexBinary16
source§fn default() -> HexBinary16
fn default() -> HexBinary16
Returns the “default value” for a type. Read more
source§impl Display for HexBinary16
impl Display for HexBinary16
source§impl FromStr for HexBinary16
impl FromStr for HexBinary16
source§impl Hash for HexBinary16
impl Hash for HexBinary16
source§impl Ord for HexBinary16
impl Ord for HexBinary16
source§fn cmp(&self, other: &HexBinary16) -> Ordering
fn cmp(&self, other: &HexBinary16) -> 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<HexBinary16> for HexBinary16
impl PartialEq<HexBinary16> for HexBinary16
source§fn eq(&self, other: &HexBinary16) -> bool
fn eq(&self, other: &HexBinary16) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<HexBinary16> for HexBinary16
impl PartialOrd<HexBinary16> for HexBinary16
source§fn partial_cmp(&self, other: &HexBinary16) -> Option<Ordering>
fn partial_cmp(&self, other: &HexBinary16) -> 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 moresource§impl YaDeserialize for HexBinary16
impl YaDeserialize for HexBinary16
source§impl YaSerialize for HexBinary16
impl YaSerialize for HexBinary16
impl Copy for HexBinary16
impl Eq for HexBinary16
impl StructuralEq for HexBinary16
impl StructuralPartialEq for HexBinary16
Auto Trait Implementations§
impl RefUnwindSafe for HexBinary16
impl Send for HexBinary16
impl Sync for HexBinary16
impl Unpin for HexBinary16
impl UnwindSafe for HexBinary16
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