Struct LteAttachParams
#[non_exhaustive]pub struct LteAttachParams {
pub apn: Option<Utf8Bytes>,
pub ip_type: Option<IpSupportType>,
pub ota_attach_performed: Option<bool>,
}Expand description
Parameters of the LTE attach.
Returned by GetLteAttachParams. The modem only fills the fields that
it knows.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.apn: Option<Utf8Bytes>APN of the attach.
ip_type: Option<IpSupportType>IP versions of the attach PDN.
ota_attach_performed: Option<bool>Whether the modem attached over the air.
Trait Implementations§
§impl Clone for LteAttachParams
impl Clone for LteAttachParams
§fn clone(&self) -> LteAttachParams
fn clone(&self) -> LteAttachParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LteAttachParams
impl Debug for LteAttachParams
§impl Default for LteAttachParams
impl Default for LteAttachParams
§fn default() -> LteAttachParams
fn default() -> LteAttachParams
Returns the “default value” for a type. Read more
impl Eq for LteAttachParams
§impl PartialEq for LteAttachParams
impl PartialEq for LteAttachParams
impl StructuralPartialEq for LteAttachParams
§impl TryFrom<&Message> for LteAttachParams
impl TryFrom<&Message> for LteAttachParams
§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
§fn try_from(message: &Message) -> Result<Self, DecodeError>
fn try_from(message: &Message) -> Result<Self, DecodeError>
Performs the conversion.
Auto Trait Implementations§
impl !Freeze for LteAttachParams
impl RefUnwindSafe for LteAttachParams
impl Send for LteAttachParams
impl Sync for LteAttachParams
impl Unpin for LteAttachParams
impl UnsafeUnpin for LteAttachParams
impl UnwindSafe for LteAttachParams
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