Struct square_api_client::models::Coordinates
source · [−]Expand description
Latitude and longitude coordinates.
Fields
latitude: f64
The latitude of the coordinate expressed in degrees.
longitude: f64
The longitude of the coordinate expressed in degrees.
Trait Implementations
sourceimpl Clone for Coordinates
impl Clone for Coordinates
sourcefn clone(&self) -> Coordinates
fn clone(&self) -> Coordinates
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Coordinates
impl Debug for Coordinates
sourceimpl Default for Coordinates
impl Default for Coordinates
sourcefn default() -> Coordinates
fn default() -> Coordinates
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Coordinates
impl<'de> Deserialize<'de> for Coordinates
sourcefn 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
sourceimpl PartialEq<Coordinates> for Coordinates
impl PartialEq<Coordinates> for Coordinates
sourcefn eq(&self, other: &Coordinates) -> bool
fn eq(&self, other: &Coordinates) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more