Struct PersoState
#[repr(transparent)]pub struct PersoState(pub u8);Expand description
Personalization state of an application (uim_perso_state_enum_v01).
Tuple Fields§
§0: u8Implementations§
§impl PersoState
impl PersoState
pub const UNKNOWN: Self
pub const UNKNOWN: Self
Value 0.
pub const IN_PROGRESS: Self
pub const IN_PROGRESS: Self
Value 1.
pub const READY: Self
pub const READY: Self
Value 2.
pub const CODE_REQ: Self
pub const CODE_REQ: Self
Value 3.
pub const PUK_REQ: Self
pub const PUK_REQ: Self
Value 4.
pub const PERMANENTLY_BLOCKED: Self
pub const PERMANENTLY_BLOCKED: Self
Value 5.
Trait Implementations§
§impl Clone for PersoState
impl Clone for PersoState
§fn clone(&self) -> PersoState
fn clone(&self) -> PersoState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PersoState
§impl Debug for PersoState
impl Debug for PersoState
§impl Decode for PersoState
impl Decode for PersoState
§impl Encode for PersoState
impl Encode for PersoState
impl Eq for PersoState
§impl From<PersoState> for u8
impl From<PersoState> for u8
§fn from(value: PersoState) -> Self
fn from(value: PersoState) -> Self
Converts to this type from the input type.
§impl Hash for PersoState
impl Hash for PersoState
§impl PartialEq for PersoState
impl PartialEq for PersoState
impl StructuralPartialEq for PersoState
Auto Trait Implementations§
impl Freeze for PersoState
impl RefUnwindSafe for PersoState
impl Send for PersoState
impl Sync for PersoState
impl Unpin for PersoState
impl UnsafeUnpin for PersoState
impl UnwindSafe for PersoState
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