pub struct DatastoreRef<'a> {
pub db: &'a Datastore,
}
Fields§
§db: &'a Datastore
Implementations§
Trait Implementations§
Source§impl<'a> Clone for DatastoreRef<'a>
impl<'a> Clone for DatastoreRef<'a>
Source§fn clone(&self) -> DatastoreRef<'a>
fn clone(&self) -> DatastoreRef<'a>
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 moreimpl<'a> Copy for DatastoreRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for DatastoreRef<'a>
impl<'a> !RefUnwindSafe for DatastoreRef<'a>
impl<'a> Send for DatastoreRef<'a>
impl<'a> Sync for DatastoreRef<'a>
impl<'a> Unpin for DatastoreRef<'a>
impl<'a> !UnwindSafe for DatastoreRef<'a>
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