pub struct Waypoint {
pub latlng: Option<LatLng>,
pub target_latlng: Option<LatLng>,
pub categories: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
pub distance_into_route: Option<i32>,
}Fields§
§latlng: Option<LatLng>§target_latlng: Option<LatLng>§categories: Option<String>§title: Option<String>§description: Option<String>§distance_into_route: Option<i32>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Waypoint
impl<'de> Deserialize<'de> for Waypoint
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
Auto Trait Implementations§
impl Freeze for Waypoint
impl RefUnwindSafe for Waypoint
impl Send for Waypoint
impl Sync for Waypoint
impl Unpin for Waypoint
impl UnsafeUnpin for Waypoint
impl UnwindSafe for Waypoint
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