pub struct DistanceMatrix {
pub airports: Vec<AirportInfo>,
pub distances: HashMap<String, HashMap<String, f64>>,
}Expand description
Distance matrix result.
Fields§
§airports: Vec<AirportInfo>§distances: HashMap<String, HashMap<String, f64>>Trait Implementations§
Source§impl Clone for DistanceMatrix
impl Clone for DistanceMatrix
Source§fn clone(&self) -> DistanceMatrix
fn clone(&self) -> DistanceMatrix
Returns a duplicate 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 DistanceMatrix
impl Debug for DistanceMatrix
Auto Trait Implementations§
impl Freeze for DistanceMatrix
impl RefUnwindSafe for DistanceMatrix
impl Send for DistanceMatrix
impl Sync for DistanceMatrix
impl Unpin for DistanceMatrix
impl UnsafeUnpin for DistanceMatrix
impl UnwindSafe for DistanceMatrix
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