Struct SerialNumbers
#[non_exhaustive]pub struct SerialNumbers {
pub esn: Option<Utf8Bytes>,
pub imei: Option<Utf8Bytes>,
pub meid: Option<Utf8Bytes>,
pub imeisv_svn: Option<Utf8Bytes>,
}Expand description
Serial numbers of the modem.
Returned by GetSerialNumbers. The modem only reports the numbers that
it has.
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.esn: Option<Utf8Bytes>Electronic serial number (ESN).
imei: Option<Utf8Bytes>International mobile equipment identity (IMEI).
meid: Option<Utf8Bytes>Mobile equipment identifier (MEID).
imeisv_svn: Option<Utf8Bytes>Software version number (SVN) of the IMEISV.
Trait Implementations§
§impl Clone for SerialNumbers
impl Clone for SerialNumbers
§fn clone(&self) -> SerialNumbers
fn clone(&self) -> SerialNumbers
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 SerialNumbers
impl Debug for SerialNumbers
§impl Default for SerialNumbers
impl Default for SerialNumbers
§fn default() -> SerialNumbers
fn default() -> SerialNumbers
Returns the “default value” for a type. Read more
impl Eq for SerialNumbers
§impl PartialEq for SerialNumbers
impl PartialEq for SerialNumbers
impl StructuralPartialEq for SerialNumbers
§impl TryFrom<&Message> for SerialNumbers
impl TryFrom<&Message> for SerialNumbers
§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 SerialNumbers
impl RefUnwindSafe for SerialNumbers
impl Send for SerialNumbers
impl Sync for SerialNumbers
impl Unpin for SerialNumbers
impl UnsafeUnpin for SerialNumbers
impl UnwindSafe for SerialNumbers
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