pub struct LicenseStats {
pub total_licenses: u64,
pub active_licenses: u64,
pub expired_licenses: u64,
pub cancelled_licenses: u64,
pub by_service: Vec<(String, u64)>,
pub by_operator_class: Vec<(String, u64)>,
pub last_updated: Option<String>,
pub schema_version: i32,
}Expand description
Database statistics.
Fields§
§total_licenses: u64Total number of licenses.
active_licenses: u64Number of active licenses.
expired_licenses: u64Number of expired licenses.
cancelled_licenses: u64Number of cancelled licenses.
by_service: Vec<(String, u64)>Breakdown by radio service.
by_operator_class: Vec<(String, u64)>Breakdown by operator class (amateur only).
last_updated: Option<String>Database last updated.
schema_version: i32Database schema version.
Trait Implementations§
Source§impl Clone for LicenseStats
impl Clone for LicenseStats
Source§fn clone(&self) -> LicenseStats
fn clone(&self) -> LicenseStats
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 LicenseStats
impl Debug for LicenseStats
Source§impl<'de> Deserialize<'de> for LicenseStats
impl<'de> Deserialize<'de> for LicenseStats
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 LicenseStats
impl RefUnwindSafe for LicenseStats
impl Send for LicenseStats
impl Sync for LicenseStats
impl Unpin for LicenseStats
impl UnsafeUnpin for LicenseStats
impl UnwindSafe for LicenseStats
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