pub struct UserGroupRepository { /* private fields */ }Trait Implementations§
Source§impl BaseRepository for UserGroupRepository
impl BaseRepository for UserGroupRepository
Source§async fn update_entity(&self, entity: Self::Entity) -> Result<u64>
async fn update_entity(&self, entity: Self::Entity) -> Result<u64>
There is nothing to be updated here
Source§type PkType = (i32, i32)
type PkType = (i32, i32)
The type of the primary key. It can consist of a tuple of multiple types if a compound key is used
Source§async fn get_entities(
&self,
page: i32,
page_size: i32,
order_by: &'static str,
direction: PaginationOrder,
) -> Result<Vec<Self::Entity>>
async fn get_entities( &self, page: i32, page_size: i32, order_by: &'static str, direction: PaginationOrder, ) -> Result<Vec<Self::Entity>>
Gets a list of entities respecting the PaginationQuery Read more
Source§async fn get_entity(&self, pk: Self::PkType) -> Result<Self::Entity>
async fn get_entity(&self, pk: Self::PkType) -> Result<Self::Entity>
Gets a single entity by it’s primary key(s)
Source§impl Clone for UserGroupRepository
impl Clone for UserGroupRepository
Source§fn clone(&self) -> UserGroupRepository
fn clone(&self) -> UserGroupRepository
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 moreSource§impl<State> FromState<State> for UserGroupRepository
impl<State> FromState<State> for UserGroupRepository
fn from_state(state: &State) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for UserGroupRepository
impl !UnwindSafe for UserGroupRepository
impl Freeze for UserGroupRepository
impl Send for UserGroupRepository
impl Sync for UserGroupRepository
impl Unpin for UserGroupRepository
impl UnsafeUnpin for UserGroupRepository
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more