pub struct Filter {
pub session: Option<String>,
pub project_root: Option<String>,
pub since: Option<UtcDateTime>,
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<UtcDateTime>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 Filterwhere
RawVecInner: Send,
impl Sync for Filterwhere
RawVecInner: Sync,
impl Unpin for Filter
impl UnsafeUnpin for Filterwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Kind>: UnsafeUnpin,
impl UnwindSafe for Filterwhere
RawVecInner: UnwindSafe,
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