Struct google_dialogflow2::api::GoogleTypeLatLng
source · pub struct GoogleTypeLatLng {
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 Clone for GoogleTypeLatLng
impl Clone for GoogleTypeLatLng
source§fn clone(&self) -> GoogleTypeLatLng
fn clone(&self) -> GoogleTypeLatLng
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 GoogleTypeLatLng
impl Debug for GoogleTypeLatLng
source§impl Default for GoogleTypeLatLng
impl Default for GoogleTypeLatLng
source§fn default() -> GoogleTypeLatLng
fn default() -> GoogleTypeLatLng
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleTypeLatLng
impl<'de> Deserialize<'de> for GoogleTypeLatLng
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 Serialize for GoogleTypeLatLng
impl Serialize for GoogleTypeLatLng
impl Part for GoogleTypeLatLng
Auto Trait Implementations§
impl RefUnwindSafe for GoogleTypeLatLng
impl Send for GoogleTypeLatLng
impl Sync for GoogleTypeLatLng
impl Unpin for GoogleTypeLatLng
impl UnwindSafe for GoogleTypeLatLng
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