pub struct Query { /* private fields */ }Expand description
A parsed query; every term must match.
Implementations§
Source§impl Query
impl Query
Sourcepub fn for_places(self) -> Self
pub fn for_places(self) -> Self
Search the displayed projects and branches, instead of raw checkout paths.
Sourcepub fn for_live_repositories(self) -> Self
pub fn for_live_repositories(self) -> Self
Hide requests whose workspace is gone, without hiding the record from CLI history.
Sourcepub fn text_for(repo: Option<&Path>) -> String
pub fn text_for(repo: Option<&Path>) -> String
The query of --repo PATH: the default with that repository’s term.
Sourcepub fn waiting_human(&self) -> bool
pub fn waiting_human(&self) -> bool
Whether only waiting Human reviews can match, as with the default query.
pub fn matches(&self, entry: &Entry) -> bool
Trait Implementations§
impl Eq for Query
impl StructuralPartialEq for Query
Auto Trait Implementations§
impl Forget for Query
impl Freeze for Query
impl Move for Query
impl RefUnwindSafe for Query
impl Send for Querywhere
RawVecInner: Send,
impl Sync for Querywhere
RawVecInner: Sync,
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Querywhere
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.