Struct google_maps::directions::response::overview_polyline::OverviewPolyline
source · pub struct OverviewPolyline {
pub points: String,
}
Expand description
An encoded polyline representation of the route.
See also: the Google Encoded Polyline encoding & decoding crate called polyline.
Fields§
§points: String
Trait Implementations§
source§impl Clone for OverviewPolyline
impl Clone for OverviewPolyline
source§fn clone(&self) -> OverviewPolyline
fn clone(&self) -> OverviewPolyline
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 OverviewPolyline
impl Debug for OverviewPolyline
source§impl<'de> Deserialize<'de> for OverviewPolyline
impl<'de> Deserialize<'de> for OverviewPolyline
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 Hash for OverviewPolyline
impl Hash for OverviewPolyline
source§impl Ord for OverviewPolyline
impl Ord for OverviewPolyline
source§fn cmp(&self, other: &OverviewPolyline) -> Ordering
fn cmp(&self, other: &OverviewPolyline) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for OverviewPolyline
impl PartialEq for OverviewPolyline
source§fn eq(&self, other: &OverviewPolyline) -> bool
fn eq(&self, other: &OverviewPolyline) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OverviewPolyline
impl PartialOrd for OverviewPolyline
source§fn partial_cmp(&self, other: &OverviewPolyline) -> Option<Ordering>
fn partial_cmp(&self, other: &OverviewPolyline) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for OverviewPolyline
impl Serialize for OverviewPolyline
impl Eq for OverviewPolyline
impl StructuralPartialEq for OverviewPolyline
Auto Trait Implementations§
impl Freeze for OverviewPolyline
impl RefUnwindSafe for OverviewPolyline
impl Send for OverviewPolyline
impl Sync for OverviewPolyline
impl Unpin for OverviewPolyline
impl UnwindSafe for OverviewPolyline
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