pub struct UserService {
pub cache_enabled: bool,
}
Expand description
User service that depends on UserRepository
Fields§
§cache_enabled: bool
Implementations§
Trait Implementations§
Source§impl Debug for UserService
impl Debug for UserService
Source§impl Default for UserService
impl Default for UserService
Source§fn default() -> UserService
fn default() -> UserService
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UserService
impl RefUnwindSafe for UserService
impl Send for UserService
impl Sync for UserService
impl Unpin for UserService
impl UnwindSafe for UserService
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