pub struct BreakOption {
pub start: NaiveDateTime,
pub end: NaiveDateTime,
pub duration: Duration,
pub description: String,
}Expand description
Represents a break placement option with timing details.
Each option shows the user when and where a break would be placed, providing context for informed decision making.
Fields§
§start: NaiveDateTimeStart time of the proposed break
end: NaiveDateTimeEnd time of the proposed break
duration: DurationDuration of the break
description: StringHuman-readable description of the placement
Trait Implementations§
Source§impl Clone for BreakOption
impl Clone for BreakOption
Source§fn clone(&self) -> BreakOption
fn clone(&self) -> BreakOption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BreakOption
impl RefUnwindSafe for BreakOption
impl Send for BreakOption
impl Sync for BreakOption
impl Unpin for BreakOption
impl UnsafeUnpin for BreakOption
impl UnwindSafe for BreakOption
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