Struct google_jobs4::api::LatLng
source · pub struct LatLng {
pub latitude: Option<f64>,
pub longitude: Option<f64>,
}
Expand description
An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges.
This type is not used in any activity, and only used as part of another schema.
Fields§
§latitude: Option<f64>
The latitude in degrees. It must be in the range [-90.0, +90.0].
longitude: Option<f64>
The longitude in degrees. It must be in the range [-180.0, +180.0].
Trait Implementations§
source§impl<'de> Deserialize<'de> for LatLng
impl<'de> Deserialize<'de> for LatLng
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
impl Part for LatLng
Auto Trait Implementations§
impl RefUnwindSafe for LatLng
impl Send for LatLng
impl Sync for LatLng
impl Unpin for LatLng
impl UnwindSafe for LatLng
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