pub struct CollectionsNamespace { /* private fields */ }Expand description
Collections operations namespace
Implementations§
Source§impl CollectionsNamespace
impl CollectionsNamespace
Sourcepub async fn get_all_docs<T>(&self, id: &str) -> Result<Vec<T>>where
T: for<'de> Deserialize<'de>,
pub async fn get_all_docs<T>(&self, id: &str) -> Result<Vec<T>>where
T: for<'de> Deserialize<'de>,
Get all documents in collection
Trait Implementations§
Source§impl Clone for CollectionsNamespace
impl Clone for CollectionsNamespace
Source§fn clone(&self) -> CollectionsNamespace
fn clone(&self) -> CollectionsNamespace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !RefUnwindSafe for CollectionsNamespace
impl !UnwindSafe for CollectionsNamespace
impl Freeze for CollectionsNamespace
impl Send for CollectionsNamespace
impl Sync for CollectionsNamespace
impl Unpin for CollectionsNamespace
impl UnsafeUnpin for CollectionsNamespace
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