pub enum QueryResCount {
None,
MaybeOne,
One,
Many,
}Expand description
The number of results this query returns. This determines if the return type is
void, Option, the value directly, or a Vec. It must be a valid value per
the query body (e.g. select can’t have None res count).
Variants§
Trait Implementations§
Source§impl Clone for QueryResCount
impl Clone for QueryResCount
Source§fn clone(&self) -> QueryResCount
fn clone(&self) -> QueryResCount
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for QueryResCount
impl RefUnwindSafe for QueryResCount
impl Send for QueryResCount
impl Sync for QueryResCount
impl Unpin for QueryResCount
impl UnwindSafe for QueryResCount
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