pub struct Duration {
pub hours: u32,
pub minutes: u32,
}Fields§
§hours: u32§minutes: u32Trait Implementations§
Source§impl ParseFromStr for Duration
impl ParseFromStr for Duration
fn parse_from_str(s: &str) -> ParseResult<Self>
Auto Trait Implementations§
impl Freeze for Duration
impl RefUnwindSafe for Duration
impl Send for Duration
impl Sync for Duration
impl Unpin for Duration
impl UnsafeUnpin for Duration
impl UnwindSafe for Duration
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