SignalStrengthInfo

Struct SignalStrengthInfo 

#[repr(C)]
pub struct SignalStrengthInfo { pub gsm_sig_info_valid: u8, pub gsm_sig_info: GsmSignalInfo, pub wcdma_sig_info_valid: u8, pub wcdma_sig_info: WcdmaSignalInfo, pub tdscdma_sig_info_valid: u8, pub tdscdma_sig_info: TdscdmaSignalInfo, pub lte_sig_info_valid: u8, pub lte_sig_info: LteSignalInfo, pub cdma_sig_info_valid: u8, pub cdma_sig_info: CdmaSignalInfo, pub hdr_sig_info_valid: u8, pub hdr_sig_info: HdrSignalInfo, }
Expand description

Gets signal strength information.

Fields§

§gsm_sig_info_valid: u8

Must be set to TRUE if gsm_sig_info is being passed.

§gsm_sig_info: GsmSignalInfo

GSM signal information.

§wcdma_sig_info_valid: u8

Must be set to TRUE if wcdma_sig_info is being passed.

§wcdma_sig_info: WcdmaSignalInfo

WCDMA signal information.

§tdscdma_sig_info_valid: u8

Must be set to TRUE if tdscdma_sig_info is being passed.

§tdscdma_sig_info: TdscdmaSignalInfo

TDSCDMA signal information.

§lte_sig_info_valid: u8

Must be set to TRUE if lte_sig_info is being passed.

§lte_sig_info: LteSignalInfo

LTE signal information.

§cdma_sig_info_valid: u8

Must be set to TRUE if cdma_sig_info is being passed.

§cdma_sig_info: CdmaSignalInfo

CDMA signal information.

§hdr_sig_info_valid: u8

Must be set to TRUE if hdr_sig_info is being passed.

§hdr_sig_info: HdrSignalInfo

HDR signal information.

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> 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, 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.