Struct spaceapi::Location
[−]
[src]
pub struct Location { pub address: Optional<String>, pub lat: f64, pub lon: f64, }
Fields
address: Optional<String>
lat: f64
lon: f64
Trait Implementations
impl Decodable for Location
[src]
impl PartialEq for Location
[src]
fn eq(&self, __arg_0: &Location) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Location) -> bool
This method tests for !=
.
impl Clone for Location
[src]
fn clone(&self) -> Location
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more