pub struct NotificationState {
pub notification_store: Arc<NotificationStore>,
pub preferences_store: Arc<NotificationPreferencesStore>,
pub device_token_store: Arc<DeviceTokenStore>,
}Expand description
Shared state for notification-related endpoints
Fields§
§notification_store: Arc<NotificationStore>§preferences_store: Arc<NotificationPreferencesStore>§device_token_store: Arc<DeviceTokenStore>Trait Implementations§
Source§impl Clone for NotificationState
impl Clone for NotificationState
Source§fn clone(&self) -> NotificationState
fn clone(&self) -> NotificationState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NotificationState
impl !RefUnwindSafe for NotificationState
impl Send for NotificationState
impl Sync for NotificationState
impl Unpin for NotificationState
impl UnsafeUnpin for NotificationState
impl !UnwindSafe for NotificationState
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