#[derive(Copy, Clone)]
pub enum PrettyDurationOutputFormat {
Compact,
Expanded,
Colon,
}
#[derive(Clone)]
pub struct PrettyDurationLabels {
pub year: &'static str,
pub month: &'static str,
pub day: &'static str,
pub hour: &'static str,
pub minute: &'static str,
pub second: &'static str,
pub millisecond: &'static str,
}
#[derive(Clone)]
pub struct PrettyDurationOptions {
pub output_format: Option<PrettyDurationOutputFormat>,
pub singular_labels: Option<PrettyDurationLabels>,
pub plural_labels: Option<PrettyDurationLabels>,
}
#[derive(Clone)]
pub struct PrettyDurationOptionsWithDefault {
pub output_format: PrettyDurationOutputFormat,
pub singular_labels: PrettyDurationLabels,
pub plural_labels: PrettyDurationLabels,
}