Struct lta_models::utils::Coordinates  
source · pub struct Coordinates {
    pub lat: f64,
    pub long: f64,
}Expand description
Coordinate on the map
Fields§
§lat: f64§long: f64Implementations§
Trait Implementations§
source§impl Clone for Coordinates
 
impl Clone for Coordinates
source§fn clone(&self) -> Coordinates
 
fn clone(&self) -> Coordinates
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 Coordinates
 
impl Debug for Coordinates
source§impl<'de> Deserialize<'de> for Coordinates
 
impl<'de> Deserialize<'de> for Coordinates
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 From<InternalCoordinates> for Coordinates
 
impl From<InternalCoordinates> for Coordinates
source§fn from(data: InternalCoordinates) -> Self
 
fn from(data: InternalCoordinates) -> Self
Converts to this type from the input type.
source§impl PartialEq for Coordinates
 
impl PartialEq for Coordinates
source§fn eq(&self, other: &Coordinates) -> bool
 
fn eq(&self, other: &Coordinates) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl Serialize for Coordinates
 
impl Serialize for Coordinates
impl StructuralPartialEq for Coordinates
Auto Trait Implementations§
impl RefUnwindSafe for Coordinates
impl Send for Coordinates
impl Sync for Coordinates
impl Unpin for Coordinates
impl UnwindSafe for Coordinates
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