Struct sweet_potator::recipe::metadata::Duration
source · 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 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