pub enum CompleterFilter {
Category {
category: String,
depth: u32,
},
PetScan {
psid: String,
},
Template {
template: String,
},
}
Expand description
This is a filter value for Completer
.
It can be a category (with depth), a PetScan ID, or a template.
Categories and templates must not have a namespace prefix.
Variants§
Trait Implementations§
source§impl Debug for CompleterFilter
impl Debug for CompleterFilter
source§impl PartialEq for CompleterFilter
impl PartialEq for CompleterFilter
source§fn eq(&self, other: &CompleterFilter) -> bool
fn eq(&self, other: &CompleterFilter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CompleterFilter
Auto Trait Implementations§
impl Freeze for CompleterFilter
impl RefUnwindSafe for CompleterFilter
impl Send for CompleterFilter
impl Sync for CompleterFilter
impl Unpin for CompleterFilter
impl UnwindSafe for CompleterFilter
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