pub struct FilterArgs { /* private fields */ }Expand description
Representation of the start/end date and project list arguments for reports.
Implementations
sourceimpl FilterArgs
impl FilterArgs
sourcepub fn new(args: &[String]) -> Result<Self>
pub fn new(args: &[String]) -> Result<Self>
Create the FilterArgs from an array of strings.
Errors
- Return
Error::BadProjectFilterif the supplied project Regexes are not valid - Return
Error::WrongDateOrderif the start date is not before the end date
Trait Implementations
sourceimpl DayFilter for FilterArgs
impl DayFilter for FilterArgs
Auto Trait Implementations
impl RefUnwindSafe for FilterArgs
impl Send for FilterArgs
impl Sync for FilterArgs
impl Unpin for FilterArgs
impl UnwindSafe for FilterArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more