Struct RegistrationStatus3gpp2
#[repr(transparent)]pub struct RegistrationStatus3gpp2(_3Gpp2RegInfo);Expand description
3GPP2 registration status information.
Part of RegistrationStatus.
Tuple Fields§
§0: _3Gpp2RegInfoImplementations§
§impl RegistrationStatus3gpp2
impl RegistrationStatus3gpp2
fn from_sys_ref(info: &_3Gpp2RegInfo) -> &Self
pub const fn tech_domain(&self) -> TechDomainType
pub const fn tech_domain(&self) -> TechDomainType
Returns the technology domain.
pub const fn radio_tech(&self) -> RadioTechType
pub const fn radio_tech(&self) -> RadioTechType
Returns the radio technology.
pub fn mcc(&self) -> Result<&str, StringError>
pub fn mcc(&self) -> Result<&str, StringError>
Returns the mobile country code.
pub fn mcc_lossy(&self) -> Cow<'_, str>
pub fn mcc_lossy(&self) -> Cow<'_, str>
Returns the mobile country code, possibly containing gibberish.
pub fn mnc(&self) -> Result<&str, StringError>
pub fn mnc(&self) -> Result<&str, StringError>
Returns the mobile network code.
pub fn mnc_lossy(&self) -> Cow<'_, str>
pub fn mnc_lossy(&self) -> Cow<'_, str>
Returns the mobile network code, possibly containing gibberish.
pub const fn roaming(&self) -> RoamStateType
pub const fn roaming(&self) -> RoamStateType
Returns the roaming state.
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 · 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 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