pub struct TransportRouteQuery {
pub origin_lat: f64,
pub origin_lon: f64,
pub destination_lat: f64,
pub destination_lon: f64,
pub mode: Option<String>,
}Expand description
Input for querying transport routes (commons: mutualaid → transport, care → transport)
Fields§
§origin_lat: f64§origin_lon: f64§destination_lat: f64§destination_lon: f64§mode: Option<String>Trait Implementations§
Source§impl Clone for TransportRouteQuery
impl Clone for TransportRouteQuery
Source§fn clone(&self) -> TransportRouteQuery
fn clone(&self) -> TransportRouteQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransportRouteQuery
impl Debug for TransportRouteQuery
Source§impl<'de> Deserialize<'de> for TransportRouteQuery
impl<'de> Deserialize<'de> for TransportRouteQuery
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 TransportRouteQuery
impl RefUnwindSafe for TransportRouteQuery
impl Send for TransportRouteQuery
impl Sync for TransportRouteQuery
impl Unpin for TransportRouteQuery
impl UnsafeUnpin for TransportRouteQuery
impl UnwindSafe for TransportRouteQuery
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