pub enum Caption {
Year(u16),
Years(YearsAired),
Show(String),
Episode {
show: Option<String>,
season: u32,
episode: u32,
},
Album {
artist: Option<String>,
year: Option<u16>,
},
Length(Duration),
}Expand description
The line under a card’s title, in parts.
Variants§
Year(u16)
A film’s year.
Years(YearsAired)
A show’s years.
Show(String)
A season’s show.
Episode
An episode: its show, and where it is in it (“S2 · E5”).
Album
An album’s artist and year.
Length(Duration)
A track’s length.
Trait Implementations§
impl Eq for Caption
impl StructuralPartialEq for Caption
Auto Trait Implementations§
impl Freeze for Caption
impl RefUnwindSafe for Caption
impl Send for Caption
impl Sync for Caption
impl Unpin for Caption
impl UnsafeUnpin for Caption
impl UnwindSafe for Caption
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