Struct ApnInfo
#[repr(C)]pub struct ApnInfo {
pub profile_idx: c_uchar,
pub pdp_type: ApnPdpType,
pub auth_proto: ApnAuthProto,
pub apn_name: [c_char; 150],
pub username: [c_char; 127],
pub password: [c_char; 127],
}Fields§
§profile_idx: c_ucharUMTS/CDMA profile ID.
pdp_type: ApnPdpTypePacket Data Protocol (PDP) type specifies the type of data payload exchanged over the airlink when the packet data session is established with this profile.
auth_proto: ApnAuthProtoAuthentication Protocol.
apn_name: [c_char; 150]A string parameter that is a logical name used to select the GGSN and external packet data network.
username: [c_char; 127]Username used during data network authentication.
password: [c_char; 127]Password to be used during data network authentication.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApnInfo
impl RefUnwindSafe for ApnInfo
impl Send for ApnInfo
impl Sync for ApnInfo
impl Unpin for ApnInfo
impl UnwindSafe for ApnInfo
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