pub enum KDQLQuery {
Create {
into: String,
documents: Vec<HashMap<String, Value>>,
},
Drop(Vec<String>),
Retrieve {
what: What,
from: String,
matches: HashMap<String, Value>,
},
}Expand description
Define a kdQL query, according to https://auksys.org/documentation/5/query_languages/kdql/
Variants§
Create
Create new documents
Fields
Drop(Vec<String>)
Drop collections, as named in the vector
Retrieve
Retrieve content of a collection
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KDQLQuery
impl<'de> Deserialize<'de> for KDQLQuery
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 KDQLQuery
impl RefUnwindSafe for KDQLQuery
impl Send for KDQLQuery
impl Sync for KDQLQuery
impl Unpin for KDQLQuery
impl UnsafeUnpin for KDQLQuery
impl UnwindSafe for KDQLQuery
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