Struct CellAccessStatus
#[repr(transparent)]pub struct CellAccessStatus(pub i32);Expand description
Call barring of a cell (nas_cell_access_status_e_type_v01).
Tuple Fields§
§0: i32Implementations§
§impl CellAccessStatus
impl CellAccessStatus
pub const NORMAL_ONLY: Self
pub const NORMAL_ONLY: Self
Value 0.
pub const EMERGENCY_ONLY: Self
pub const EMERGENCY_ONLY: Self
Value 1.
pub const NO_CALLS: Self
pub const NO_CALLS: Self
Value 2.
pub const ALL_CALLS: Self
pub const ALL_CALLS: Self
Value 3.
pub const UNKNOWN: Self
pub const UNKNOWN: Self
Value -1.
Trait Implementations§
§impl Clone for CellAccessStatus
impl Clone for CellAccessStatus
§fn clone(&self) -> CellAccessStatus
fn clone(&self) -> CellAccessStatus
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 CellAccessStatus
§impl Debug for CellAccessStatus
impl Debug for CellAccessStatus
§impl Decode for CellAccessStatus
impl Decode for CellAccessStatus
§impl Encode for CellAccessStatus
impl Encode for CellAccessStatus
impl Eq for CellAccessStatus
§impl From<CellAccessStatus> for i32
impl From<CellAccessStatus> for i32
§fn from(value: CellAccessStatus) -> Self
fn from(value: CellAccessStatus) -> Self
Converts to this type from the input type.
§impl From<i32> for CellAccessStatus
impl From<i32> for CellAccessStatus
§impl Hash for CellAccessStatus
impl Hash for CellAccessStatus
§impl PartialEq for CellAccessStatus
impl PartialEq for CellAccessStatus
impl StructuralPartialEq for CellAccessStatus
Auto Trait Implementations§
impl Freeze for CellAccessStatus
impl RefUnwindSafe for CellAccessStatus
impl Send for CellAccessStatus
impl Sync for CellAccessStatus
impl Unpin for CellAccessStatus
impl UnsafeUnpin for CellAccessStatus
impl UnwindSafe for CellAccessStatus
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