pub struct SimCard {
pub slot_index: i32,
pub sim_number: i32,
pub phone_number: Option<String>,
pub carrier_name: Option<String>,
pub iccid: Option<String>,
}Expand description
Information about a SIM card installed in a device.
Fields§
§slot_index: i32§sim_number: i32§phone_number: Option<String>§carrier_name: Option<String>§iccid: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SimCard
impl<'de> Deserialize<'de> for SimCard
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SimCard
impl RefUnwindSafe for SimCard
impl Send for SimCard
impl Sync for SimCard
impl Unpin for SimCard
impl UnsafeUnpin for SimCard
impl UnwindSafe for SimCard
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