pub struct ContinentStats {
pub total: usize,
pub by_type: HashMap<String, usize>,
pub by_country: HashMap<String, usize>,
pub with_scheduled_service: usize,
pub average_runway_length: f64,
pub average_elevation: f64,
pub timezones: Vec<String>,
}Expand description
Statistics for airports on a continent.
Fields§
§total: usize§by_type: HashMap<String, usize>§by_country: HashMap<String, usize>§with_scheduled_service: usize§average_runway_length: f64§average_elevation: f64§timezones: Vec<String>Trait Implementations§
Source§impl Clone for ContinentStats
impl Clone for ContinentStats
Source§fn clone(&self) -> ContinentStats
fn clone(&self) -> ContinentStats
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 ContinentStats
impl Debug for ContinentStats
Auto Trait Implementations§
impl Freeze for ContinentStats
impl RefUnwindSafe for ContinentStats
impl Send for ContinentStats
impl Sync for ContinentStats
impl Unpin for ContinentStats
impl UnsafeUnpin for ContinentStats
impl UnwindSafe for ContinentStats
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