Struct aci_registry::ProductId
source · pub struct ProductId(/* private fields */);
Expand description
Generic type for the products of registered vendors
This is a new type arround u16
, no validity checking is performed.
Implementations§
Trait Implementations§
source§impl From<CleverIsaProduct> for ProductId
impl From<CleverIsaProduct> for ProductId
source§fn from(x: CleverIsaProduct) -> Self
fn from(x: CleverIsaProduct) -> Self
Converts to this type from the input type.
source§impl PartialEq for ProductId
impl PartialEq for ProductId
impl Copy for ProductId
impl Eq for ProductId
impl StructuralPartialEq for ProductId
Auto Trait Implementations§
impl Freeze for ProductId
impl RefUnwindSafe for ProductId
impl Send for ProductId
impl Sync for ProductId
impl Unpin for ProductId
impl UnwindSafe for ProductId
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