Struct rrules::frequencies::models::Time
source · pub struct Time {
pub hour: i32,
pub minute: i32,
}
Expand description
Representation of a time containing hour:minute E.g. 12:00, 23:59, etc.
Fields§
§hour: i32
§minute: i32
Trait Implementations§
source§impl FromStr for Time
impl FromStr for Time
§type Err = InvalidFrequency
type Err = InvalidFrequency
The associated error which can be returned from parsing.
source§impl PartialEq for Time
impl PartialEq for Time
impl Eq for Time
impl StructuralEq for Time
impl StructuralPartialEq for Time
Auto Trait Implementations§
impl RefUnwindSafe for Time
impl Send for Time
impl Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
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