Struct keshvar::CountryGeo
source · pub struct CountryGeo { /* private fields */ }Expand description
GEO information for a Country.
Implementations§
source§impl CountryGeo
impl CountryGeo
pub fn latitude(&self) -> f64
pub fn longitude(&self) -> f64
pub fn max_latitude(&self) -> f64
pub fn max_longitude(&self) -> f64
pub fn min_latitude(&self) -> f64
pub fn min_longitude(&self) -> f64
pub fn bounds(&self) -> CountryGeoBounds
Trait Implementations§
source§impl Clone for CountryGeo
impl Clone for CountryGeo
source§fn clone(&self) -> CountryGeo
fn clone(&self) -> CountryGeo
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 CountryGeo
impl Debug for CountryGeo
source§impl<'de> Deserialize<'de> for CountryGeo
impl<'de> Deserialize<'de> for CountryGeo
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
source§impl PartialEq for CountryGeo
impl PartialEq for CountryGeo
source§fn eq(&self, other: &CountryGeo) -> bool
fn eq(&self, other: &CountryGeo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for CountryGeo
impl Serialize for CountryGeo
impl Copy for CountryGeo
impl StructuralPartialEq for CountryGeo
Auto Trait Implementations§
impl RefUnwindSafe for CountryGeo
impl Send for CountryGeo
impl Sync for CountryGeo
impl Unpin for CountryGeo
impl UnwindSafe for CountryGeo
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