pub struct Collection {
pub name: String,
}
Fieldsยง
ยงname: String
Implementationsยง
Sourceยงimpl Collection
impl Collection
pub fn add_object( &self, conn: &Connection, cname: &str, value: String, ) -> Result<()>
pub fn add_index( &self, conn: &Connection, collection_name: &str, key: &str, index_name: &str, ) -> Result<()>
pub fn query_arrays_contains<T: Display>( &self, conn: &Connection, cname: &str, comparison: &str, value: &T, ) -> Result<Vec<Entry>>
pub fn query_object_with_key_value<T: Display>( &self, conn: &Connection, cname: &str, comparison: &str, key: &str, value: &T, ) -> Result<Vec<Entry>>
Trait Implementationsยง
Sourceยงimpl Clone for Collection
impl Clone for Collection
Sourceยงfn clone(&self) -> Collection
fn clone(&self) -> Collection
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 Collection
impl RefUnwindSafe for Collection
impl Send for Collection
impl Sync for Collection
impl Unpin for Collection
impl UnwindSafe for Collection
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