Struct ipinfo::CarrierDetails
source · pub struct CarrierDetails {
pub name: String,
pub mcc: String,
pub mnc: String,
}
Expand description
Mobile carrier details.
Fields§
§name: String
The name of the carrier ISP that owns that mobile IP address.
mcc: String
MCC GSM network code of this carrier.
mnc: String
MNC GSM network code of this carrier.
Trait Implementations§
source§impl Clone for CarrierDetails
impl Clone for CarrierDetails
source§fn clone(&self) -> CarrierDetails
fn clone(&self) -> CarrierDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CarrierDetails
impl Debug for CarrierDetails
source§impl<'de> Deserialize<'de> for CarrierDetails
impl<'de> Deserialize<'de> for CarrierDetails
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 RefUnwindSafe for CarrierDetails
impl Send for CarrierDetails
impl Sync for CarrierDetails
impl Unpin for CarrierDetails
impl UnwindSafe for CarrierDetails
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