pub struct SettingsService {
repo: Arc<dyn SettingsRepository>,
}Expand description
Service for settings operations.
Fields§
§repo: Arc<dyn SettingsRepository>Implementations§
Source§impl SettingsService
impl SettingsService
Sourcepub fn new(repo: Arc<dyn SettingsRepository>) -> Self
pub fn new(repo: Arc<dyn SettingsRepository>) -> Self
Create a new settings service.
Auto Trait Implementations§
impl Freeze for SettingsService
impl !RefUnwindSafe for SettingsService
impl Send for SettingsService
impl Sync for SettingsService
impl Unpin for SettingsService
impl !UnwindSafe for SettingsService
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