pub enum SearchRequest {
Key {
key: String,
type_: Option<NodeType>,
},
KeyStartsWith {
key_starts_with: String,
type_: Option<NodeType>,
},
MetaKey {
meta_key: String,
type_: Option<NodeType>,
},
}
Variants§
Implementations§
Source§impl SearchRequest
impl SearchRequest
pub fn new_key(key: String) -> Self
pub fn new_key_type(key: String, type_: Option<NodeType>) -> Self
pub fn new_key_starts_with(key_starts_with: String) -> Self
pub fn new_key_starts_with_type( key_starts_with: String, type_: Option<NodeType>, ) -> Self
pub fn new_meta_key(meta_key: String) -> Self
pub fn new_meta_key_type(meta_key: String, type_: Option<NodeType>) -> Self
pub fn set_query_values(&self, query: Serializer<'_, UrlQuery<'_>>)
Auto Trait Implementations§
impl Freeze for SearchRequest
impl RefUnwindSafe for SearchRequest
impl Send for SearchRequest
impl Sync for SearchRequest
impl Unpin for SearchRequest
impl UnwindSafe for SearchRequest
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