pub struct DateRangeArgs { /* private fields */ }Expand description
Representation of the start and end date arguments for reports.
Implementations§
Source§impl DateRangeArgs
impl DateRangeArgs
Sourcepub fn new(dates: &[String]) -> Result<Self>
pub fn new(dates: &[String]) -> Result<Self>
Create the DateRangeArgs from an array of strings.
§Errors
- Return
Error::DateErrorif the start date is not before the end date
Trait Implementations§
Source§impl DayFilter for DateRangeArgs
impl DayFilter for DateRangeArgs
Source§impl Debug for DateRangeArgs
impl Debug for DateRangeArgs
impl Eq for DateRangeArgs
Source§impl PartialEq for DateRangeArgs
impl PartialEq for DateRangeArgs
Source§fn eq(&self, other: &DateRangeArgs) -> bool
fn eq(&self, other: &DateRangeArgs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DateRangeArgs
Auto Trait Implementations§
impl Freeze for DateRangeArgs
impl RefUnwindSafe for DateRangeArgs
impl Send for DateRangeArgs
impl Sync for DateRangeArgs
impl Unpin for DateRangeArgs
impl UnsafeUnpin for DateRangeArgs
impl UnwindSafe for DateRangeArgs
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