Struct liserk_shared::query::SingleQuery
source · pub struct SingleQuery {
pub collection: String,
pub usecase: String,
}
Expand description
Represents a single query on a collection for a given use case.
This is the basic unit of querying in this system.
A SingleQuery
operates on one collection and one use case.
Fields§
§collection: String
§usecase: String
Implementations§
Trait Implementations§
source§impl Clone for SingleQuery
impl Clone for SingleQuery
source§fn clone(&self) -> SingleQuery
fn clone(&self) -> SingleQuery
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SingleQuery
impl Debug for SingleQuery
source§impl<'de> Deserialize<'de> for SingleQuery
impl<'de> Deserialize<'de> for SingleQuery
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
source§impl PartialEq<SingleQuery> for SingleQuery
impl PartialEq<SingleQuery> for SingleQuery
source§fn eq(&self, other: &SingleQuery) -> bool
fn eq(&self, other: &SingleQuery) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SingleQuery
impl Serialize for SingleQuery
impl Eq for SingleQuery
impl StructuralEq for SingleQuery
impl StructuralPartialEq for SingleQuery
Auto Trait Implementations§
impl RefUnwindSafe for SingleQuery
impl Send for SingleQuery
impl Sync for SingleQuery
impl Unpin for SingleQuery
impl UnwindSafe for SingleQuery
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