Struct drawbridge::server::store::Store
source · pub struct Store { /* private fields */ }
Implementations§
source§impl Store
impl Store
pub fn user(&self, _: &Context) -> User<'_>
pub async fn create_user( &self, cx: &Context, meta: Meta, rec: &Record ) -> Result<User<'_>, CreateError<Error>>
pub fn repository<'a>(&'a self, _: &'a Context) -> Repository<'a>
pub fn tag<'a>(&'a self, _: &'a Context) -> Tag<'a>
pub fn tree<'a>(&'a self, _: &'a Context) -> Node<'a>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Store
impl !RefUnwindSafe for Store
impl Send for Store
impl Sync for Store
impl Unpin for Store
impl !UnwindSafe for Store
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