pub struct Enterprise<'a> {
pub city: Option<City<'a>>,
pub continent: Option<Continent<'a>>,
pub country: Option<Country<'a>>,
pub location: Option<Location<'a>>,
pub postal: Option<Postal<'a>>,
pub registered_country: Option<Country<'a>>,
pub represented_country: Option<RepresentedCountry<'a>>,
pub subdivisions: Option<Vec<Subdivision<'a>>>,
pub traits: Option<Traits<'a>>,
}
Expand description
GeoIP2 Enterprise record
Fields§
§city: Option<City<'a>>
§continent: Option<Continent<'a>>
§country: Option<Country<'a>>
§location: Option<Location<'a>>
§postal: Option<Postal<'a>>
§registered_country: Option<Country<'a>>
§represented_country: Option<RepresentedCountry<'a>>
§subdivisions: Option<Vec<Subdivision<'a>>>
§traits: Option<Traits<'a>>
Trait Implementations§
Source§impl<'a> Clone for Enterprise<'a>
impl<'a> Clone for Enterprise<'a>
Source§fn clone(&self) -> Enterprise<'a>
fn clone(&self) -> Enterprise<'a>
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<'a> Debug for Enterprise<'a>
impl<'a> Debug for Enterprise<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for Enterprise<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Enterprise<'a>
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<'a> Freeze for Enterprise<'a>
impl<'a> RefUnwindSafe for Enterprise<'a>
impl<'a> Send for Enterprise<'a>
impl<'a> Sync for Enterprise<'a>
impl<'a> Unpin for Enterprise<'a>
impl<'a> UnwindSafe for Enterprise<'a>
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