_3Gpp2RegInfo

Struct _3Gpp2RegInfo 

#[repr(C)]
pub struct _3Gpp2RegInfo { pub tech_domain: TechDomainType, pub radio_tech: RadioTechType, pub mcc: [c_char; 4], pub mnc: [c_char; 4], pub roaming: RoamStateType, pub forbidden: u8, pub in_prl: u8, pub css: u8, pub sid: u16, pub nid: u16, pub bsid: u16, }
Expand description

QL_MCM_NW_3GPP2_REG_INFO_T

Fields§

§tech_domain: TechDomainType

Technology, used to determine structure type mcm_tech: 0 – None, 1 – 3GPP, 2 – 3GPP2.

§radio_tech: RadioTechType

Radio technology; see #mcm_nw_radio_tech_t_v01.

§mcc: [c_char; 4]

Mobile country code.

§mnc: [c_char; 4]

Mobile network code.

§roaming: RoamStateType

Roaming status; see #mcm_nw_roam_state_t_v01.

§forbidden: u8

Forbidden: 0 – No, 1 – Yes.

§in_prl: u8

0 – Not in PRL, 1 – In PRL.

§css: u8

Concurrent services supported: 0 – No, 1 – Yes.

§sid: u16

CDMA system ID.

§nid: u16

CDMA network ID.

§bsid: u16

Base station ID.

Trait Implementations§

§

impl Clone for _3Gpp2RegInfo

§

fn clone(&self) -> _3Gpp2RegInfo

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Serialize for _3Gpp2RegInfo

§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.