Struct ProductState
pub struct ProductState(/* private fields */);
Implementations§
§impl ProductState
impl ProductState
pub const PROVISIONING: Self
pub const PROVISIONING: Self
Provisioning
pub const IROT_PROVISIONED: Self
pub const IROT_PROVISIONED: Self
iROT-Provisioned
pub const LOCKED: Self
pub const LOCKED: Self
Locked
pub const CLOSED: Self
pub const CLOSED: Self
Closed
pub const REGRESSION: Self
pub const REGRESSION: Self
Regression
pub const OPEN: Self
pub const OPEN: Self
Open
§impl ProductState
impl ProductState
pub const fn from_bits(val: u8) -> ProductState
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for ProductState
impl Clone for ProductState
§fn clone(&self) -> ProductState
fn clone(&self) -> ProductState
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ProductState
impl Debug for ProductState
§impl From<ProductState> for u8
impl From<ProductState> for u8
§fn from(val: ProductState) -> u8
fn from(val: ProductState) -> u8
Converts to this type from the input type.
§impl From<u8> for ProductState
impl From<u8> for ProductState
§fn from(val: u8) -> ProductState
fn from(val: u8) -> ProductState
Converts to this type from the input type.
§impl Ord for ProductState
impl Ord for ProductState
§impl PartialEq for ProductState
impl PartialEq for ProductState
§impl PartialOrd for ProductState
impl PartialOrd for ProductState
impl Copy for ProductState
impl Eq for ProductState
impl StructuralPartialEq for ProductState
Auto Trait Implementations§
impl Freeze for ProductState
impl RefUnwindSafe for ProductState
impl Send for ProductState
impl Sync for ProductState
impl Unpin for ProductState
impl UnwindSafe for ProductState
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