pub enum IndexOperation {
CreateIndex {
name: String,
field: String,
index_type: String,
},
UpdateIndex {
name: String,
record_id: String,
value: String,
},
DeleteIndex {
name: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for IndexOperation
impl Clone for IndexOperation
Source§impl Debug for IndexOperation
impl Debug for IndexOperation
Source§impl<'de> Deserialize<'de> for IndexOperation
impl<'de> Deserialize<'de> for IndexOperation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IndexOperation
impl RefUnwindSafe for IndexOperation
impl Send for IndexOperation
impl Sync for IndexOperation
impl Unpin for IndexOperation
impl UnsafeUnpin for IndexOperation
impl UnwindSafe for IndexOperation
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