Struct RegistrationStatus3gpp
#[repr(transparent)]pub struct RegistrationStatus3gpp(_3GppRegInfo);Expand description
3GPP registration status information.
Part of RegistrationStatus.
Tuple Fields§
§0: _3GppRegInfoImplementations§
§impl RegistrationStatus3gpp
impl RegistrationStatus3gpp
fn from_sys_ref(info: &_3GppRegInfo) -> &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 RegistrationStatus3gpp
impl Clone for RegistrationStatus3gpp
§fn clone(&self) -> RegistrationStatus3gpp
fn clone(&self) -> RegistrationStatus3gpp
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 RegistrationStatus3gpp
impl Debug for RegistrationStatus3gpp
§impl Serialize for RegistrationStatus3gpp
Available on crate feature serde only.
impl Serialize for RegistrationStatus3gpp
Available on crate feature
serde only.Auto Trait Implementations§
impl Freeze for RegistrationStatus3gpp
impl RefUnwindSafe for RegistrationStatus3gpp
impl Send for RegistrationStatus3gpp
impl Sync for RegistrationStatus3gpp
impl Unpin for RegistrationStatus3gpp
impl UnwindSafe for RegistrationStatus3gpp
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