pub struct SingleQuery {
pub collection: String,
pub usecase: String,
pub upper_limit: Option<f64>,
pub lower_limit: Option<f64>,
}
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
§upper_limit: Option<f64>
§lower_limit: Option<f64>
Implementations§
Trait Implementations§
Source§impl Clone for SingleQuery
impl Clone for SingleQuery
Source§fn clone(&self) -> SingleQuery
fn clone(&self) -> SingleQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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 for SingleQuery
impl PartialEq for SingleQuery
Source§impl Serialize for SingleQuery
impl Serialize for SingleQuery
impl Eq for SingleQuery
Auto Trait Implementations§
impl Freeze for SingleQuery
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