pub struct Filter {
pub session: Option<String>,
pub project_root: Option<String>,
pub since: Option<DateTime<Utc>>,
pub kinds: Vec<Kind>,
pub limit: usize,
}Expand description
What a listing selects. session and project_root narrow, both may be
given; with neither the listing is empty.
Fields§
§session: Option<String>§project_root: Option<String>§since: Option<DateTime<Utc>>Strictly newer than this instant.
kinds: Vec<Kind>Empty = every kind.
limit: usizeNewest limit are kept (DEFAULT_LIMIT when 0).
Trait Implementations§
Auto Trait Implementations§
impl Forget for Filter
impl Freeze for Filter
impl Move for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnsafeUnpin for Filter
impl UnwindSafe for Filter
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