Struct RegistrationStatus3gpp2
#[repr(transparent)]pub struct RegistrationStatus3gpp2(_3Gpp2RegInfo);👎Deprecated:
use ql-nas and ql-uim
Expand description
3GPP2 registration status information.
Part of RegistrationStatus.
Tuple Fields§
§0: _3Gpp2RegInfo👎Deprecated:
use ql-nas and ql-uim
Implementations§
§impl RegistrationStatus3gpp2
impl RegistrationStatus3gpp2
fn from_sys_ref(info: &_3Gpp2RegInfo) -> &Self
👎Deprecated:
use ql-nas and ql-uim
pub const fn tech_domain(&self) -> TechDomain
👎Deprecated: use ql-nas and ql-uim
pub const fn tech_domain(&self) -> TechDomain
use ql-nas and ql-uim
Returns the technology domain.
pub const fn radio_tech(&self) -> RadioTech
👎Deprecated: use ql-nas and ql-uim
pub const fn radio_tech(&self) -> RadioTech
use ql-nas and ql-uim
Returns the radio technology.
pub fn mcc(&self) -> Result<&str, StringError>
👎Deprecated: use ql-nas and ql-uim
pub fn mcc(&self) -> Result<&str, StringError>
use ql-nas and ql-uim
Returns the mobile country code.
pub fn mcc_lossy(&self) -> Cow<'_, str>
👎Deprecated: use ql-nas and ql-uim
pub fn mcc_lossy(&self) -> Cow<'_, str>
use ql-nas and ql-uim
Returns the mobile country code, possibly containing gibberish.
pub fn mnc(&self) -> Result<&str, StringError>
👎Deprecated: use ql-nas and ql-uim
pub fn mnc(&self) -> Result<&str, StringError>
use ql-nas and ql-uim
Returns the mobile network code.
pub fn mnc_lossy(&self) -> Cow<'_, str>
👎Deprecated: use ql-nas and ql-uim
pub fn mnc_lossy(&self) -> Cow<'_, str>
use ql-nas and ql-uim
Returns the mobile network code, possibly containing gibberish.
pub const fn roaming(&self) -> RoamStateType
👎Deprecated: use ql-nas and ql-uim
pub const fn roaming(&self) -> RoamStateType
use ql-nas and ql-uim
Returns the roaming state.
pub const fn forbidden(&self) -> bool
👎Deprecated: use ql-nas and ql-uim
pub const fn forbidden(&self) -> bool
use ql-nas and ql-uim
Returns the forbidden state.
pub const fn in_prl(&self) -> bool
👎Deprecated: use ql-nas and ql-uim
pub const fn in_prl(&self) -> bool
use ql-nas and ql-uim
Returns whether the network is in PRL.
What is PRL?
Trait Implementations§
§impl Clone for RegistrationStatus3gpp2
impl Clone for RegistrationStatus3gpp2
§fn clone(&self) -> RegistrationStatus3gpp2
fn clone(&self) -> RegistrationStatus3gpp2
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 more§impl Debug for RegistrationStatus3gpp2
impl Debug for RegistrationStatus3gpp2
§impl Serialize for RegistrationStatus3gpp2
Available on crate feature serde only.
impl Serialize for RegistrationStatus3gpp2
Available on crate feature
serde only.Auto Trait Implementations§
impl Freeze for RegistrationStatus3gpp2
impl RefUnwindSafe for RegistrationStatus3gpp2
impl Send for RegistrationStatus3gpp2
impl Sync for RegistrationStatus3gpp2
impl Unpin for RegistrationStatus3gpp2
impl UnsafeUnpin for RegistrationStatus3gpp2
impl UnwindSafe for RegistrationStatus3gpp2
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