Struct contack::address::Geo [−][src]
Expand description
A simple structure to hold Geo location.
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.longitude: f64
This is the longitude for the geo-location.
latitude: f64
This is the latitude for the geo-location.
Implementations
Trait Implementations
impl PartialOrd<Geo> for Geo
[src]
impl PartialOrd<Geo> for Geo
[src]fn partial_cmp(&self, other: &Geo) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Geo) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more