pub enum TuringOp {
Show 14 variants
RepoCreate,
RepoDrop,
DbCreate,
DbList,
DbDrop,
DocumentCreate,
DocumentList,
DocumentDrop,
FieldInsert,
FieldGet,
FieldRemove,
FieldModify,
FieldList,
NotSupported,
}
Expand description
Handles commands queries
Commands to perform on the repo and its contents by the repo owner known as SuperUser
Variants§
RepoCreate
Initialize the Repository
RepoDrop
Delete the Repository
DbCreate
Create a database
DbList
List all databases in a repo
DbDrop
Delete a database
DocumentCreate
Create a document
DocumentList
List All Documents
DocumentDrop
Delete a document and all its contents
FieldInsert
Insert a field into a document
FieldGet
Read contents particular document
FieldRemove
Remove a particular document
FieldModify
Updata a document
FieldList
List all fields in a document
NotSupported
The command is not supported
Trait Implementations§
impl Eq for TuringOp
impl StructuralPartialEq for TuringOp
Auto Trait Implementations§
impl Freeze for TuringOp
impl RefUnwindSafe for TuringOp
impl Send for TuringOp
impl Sync for TuringOp
impl Unpin for TuringOp
impl UnwindSafe for TuringOp
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