Struct valhalla_client::Trip
source · pub struct Trip {
pub status: i32,
pub status_message: String,
pub units: Units,
pub language: String,
pub locations: Vec<Location>,
pub warnings: Option<Vec<String>>,
pub id: Option<String>,
pub legs: Vec<Leg>,
pub summary: Summary,
}
Fields§
§status: i32
§status_message: String
§units: Units
§language: String
§locations: Vec<Location>
§warnings: Option<Vec<String>>
§id: Option<String>
§legs: Vec<Leg>
§summary: Summary
Trait Implementations§
source§impl<'de> Deserialize<'de> for Trip
impl<'de> Deserialize<'de> for Trip
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 RefUnwindSafe for Trip
impl Send for Trip
impl Sync for Trip
impl Unpin for Trip
impl UnwindSafe for Trip
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