pub enum YearsAired {
One(u16),
Running(u16),
Between(u16, u16),
}Expand description
The years a show ran, as its card says them.
Variants§
One(u16)
“2019”: it ran in one year, or only one is known.
Running(u16)
“2019–”: an episode aired in the last twelve months.
Between(u16, u16)
“2019–2023”.
Trait Implementations§
Source§impl Clone for YearsAired
impl Clone for YearsAired
impl Copy for YearsAired
Source§impl Debug for YearsAired
impl Debug for YearsAired
Source§impl Display for YearsAired
“2019”, “2019–”, “2019–2023”.
impl Display for YearsAired
“2019”, “2019–”, “2019–2023”.
impl Eq for YearsAired
Source§impl PartialEq for YearsAired
impl PartialEq for YearsAired
impl StructuralPartialEq for YearsAired
Auto Trait Implementations§
impl Forget for YearsAired
impl Freeze for YearsAired
impl Move for YearsAired
impl RefUnwindSafe for YearsAired
impl Send for YearsAired
impl Sync for YearsAired
impl Unpin for YearsAired
impl UnsafeUnpin for YearsAired
impl UnwindSafe for YearsAired
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