Struct CommonRegInfo
#[repr(C)]pub struct CommonRegInfo {
pub tech_domain: TechDomain,
pub radio_tech: RadioTech,
pub roaming: RoamStateType,
pub deny_reason: DenyReason,
pub registration_state: Service,
}Expand description
Common registration information for voice and data.
Fields§
§tech_domain: TechDomainTechnology, used to determine the structure type mcm_tech: 0 – None, 1 – 3GPP, 2 – 3GPP2.
radio_tech: RadioTechRadio technology; see #mcm_nw_radio_tech_t_v01.
roaming: RoamStateType0 – Off, 1 – Roaming (3GPP2 has extended values).
deny_reason: DenyReasonSet when registration state is #mcm_nw_deny_reason_t_v01.
registration_state: ServiceRegistration state.
Trait Implementations§
§impl Clone for CommonRegInfo
impl Clone for CommonRegInfo
§fn clone(&self) -> CommonRegInfo
fn clone(&self) -> CommonRegInfo
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 Serialize for CommonRegInfo
impl Serialize for CommonRegInfo
Auto Trait Implementations§
impl Freeze for CommonRegInfo
impl RefUnwindSafe for CommonRegInfo
impl Send for CommonRegInfo
impl Sync for CommonRegInfo
impl Unpin for CommonRegInfo
impl UnwindSafe for CommonRegInfo
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