pub struct PondService { /* private fields */ }Implementations§
Source§impl PondService
impl PondService
pub fn new(pond_repository: Arc<dyn PondRepositoryInterface>) -> PondService
Trait Implementations§
Source§impl PondServiceInterface for PondService
impl PondServiceInterface for PondService
fn create_and_save_pond( &self, owner_user: &User, capacity: i32, ) -> GameResult<Pond>
Auto Trait Implementations§
impl Freeze for PondService
impl !RefUnwindSafe for PondService
impl Send for PondService
impl Sync for PondService
impl Unpin for PondService
impl !UnwindSafe for PondService
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> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self to an expression for Diesel’s query builder. Read more