pub struct FieldQuery<T> { /* private fields */ }
Expand description
Handles field queries
§Handles all queries releated to fields
#[derive(Debug, Serialize, Clone)]
pub struct FieldQuery {
db: String,
document: String,
field: String,
payload: Option<T>,
}
Implementations§
Source§impl<T> FieldQuery<T>where
T: Serialize,
impl<T> FieldQuery<T>where
T: Serialize,
Trait Implementations§
Source§impl<T: Clone> Clone for FieldQuery<T>
impl<T: Clone> Clone for FieldQuery<T>
Source§fn clone(&self) -> FieldQuery<T>
fn clone(&self) -> FieldQuery<T>
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<T: Debug> Debug for FieldQuery<T>
impl<T: Debug> Debug for FieldQuery<T>
Auto Trait Implementations§
impl<T> Freeze for FieldQuery<T>where
T: Freeze,
impl<T> RefUnwindSafe for FieldQuery<T>where
T: RefUnwindSafe,
impl<T> Send for FieldQuery<T>where
T: Send,
impl<T> Sync for FieldQuery<T>where
T: Sync,
impl<T> Unpin for FieldQuery<T>where
T: Unpin,
impl<T> UnwindSafe for FieldQuery<T>where
T: UnwindSafe,
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