pub enum StoreOp {
Get {
namespace: String,
key: String,
},
Put {
namespace: String,
key: String,
value: Value,
index: Option<Vec<String>>,
},
Delete {
namespace: String,
key: String,
},
Search(SearchQuery),
ListNamespaces {
prefix: Option<String>,
suffix: Option<String>,
max_depth: Option<usize>,
limit: Option<usize>,
},
}Expand description
Store operation type
Variants§
Get
Get operation
Put
Put operation
Fields
Delete
Delete operation
Search(SearchQuery)
Search operation
ListNamespaces
List namespaces operation
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StoreOp
impl RefUnwindSafe for StoreOp
impl Send for StoreOp
impl Sync for StoreOp
impl Unpin for StoreOp
impl UnsafeUnpin for StoreOp
impl UnwindSafe for StoreOp
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