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