pub enum Hours {
AM(u8),
PM(u8),
H24(u8),
}
Expand description
Hours in either 12-hour (AM/PM) or 24-hour format
Variants§
Trait Implementations§
source§impl PartialEq<Hours> for Hours
impl PartialEq<Hours> for Hours
impl Copy for Hours
impl StructuralPartialEq for Hours
Auto Trait Implementations§
impl RefUnwindSafe for Hours
impl Send for Hours
impl Sync for Hours
impl Unpin for Hours
impl UnwindSafe for Hours
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