pub struct ManufacturerCode {
pub code: [char; 3],
}
Fields§
§code: [char; 3]
Implementations§
Source§impl ManufacturerCode
impl ManufacturerCode
pub const fn from_id(id: u16) -> Result<Self, ApplicationLayerError>
Trait Implementations§
Source§impl Debug for ManufacturerCode
impl Debug for ManufacturerCode
Source§impl PartialEq for ManufacturerCode
impl PartialEq for ManufacturerCode
impl StructuralPartialEq for ManufacturerCode
Auto Trait Implementations§
impl Freeze for ManufacturerCode
impl RefUnwindSafe for ManufacturerCode
impl Send for ManufacturerCode
impl Sync for ManufacturerCode
impl Unpin for ManufacturerCode
impl UnwindSafe for ManufacturerCode
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