pub struct Query {
pub namespace: Option<Namespace>,
pub alias: Option<String>,
pub seqid: Option<String>,
pub current_only: bool,
}
Expand description
Datastructure for a query to AliasDb::find()
.
Fields§
§namespace: Option<Namespace>
Optionally, namespace to query within.
alias: Option<String>
Optionally, an alias or pattern using %
for wildcards.
seqid: Option<String>
Optionally the precise seqid.
current_only: bool
Whether to return those with is_current=1
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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