[−][src]Enum covid19_uk_rs::Metric
Valid metrics which may be requested from the NHS API.
Variants
AreaType(AreaType)
AreaName(String)
AreaCode(String)
Date(Date)
Hash(String)
NewCasesByPublishDate(i32)
CumulativeCasesByPublishDate(i32)
CumulativeCasesBySpecimenDateRange(i32)
NewCasesBySpecimenDate(i32)
MaleCases(i32)
FemaleCases(i32)
NewPillarOneTestsByPublishDate(i32)
CumulativePillarOneTestsByPublishDate(i32)
NewPillarTwoTestsByPublishDate(i32)
CumulativePillarTwoTestsByPublishDate(i32)
NewPillarThreeTestsByPublishDate(i32)
CumulativePillarThreeTestsByPublishDate(i32)
NewPillarFourTestsByPublishDate(i32)
CumulativePillarFourTestsByPublishDate(i32)
NewAdmissions(i32)
CumulativeAdmissions(i32)
CumulativeAdmissionsByAge(i32)
CumulativeTestsByPublishDate(i32)
NewTestsByPublishDate(i32)
CovidOccupiedMechanicalVentilatorBeds(i32)
HospitalCases(i32)
PlannedCapacityByPublishDate(i32)
NewDeathsWithin28DaysByPublishDate(i32)
CumulativeDeathsWithin28DaysByPublishDate(i32)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Metric
impl Send for Metric
impl Sync for Metric
impl Unpin for Metric
impl UnwindSafe for Metric
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,