pub struct MediaApiState {
pub media: Option<MediaStore>,
pub families: Option<Arc<dyn FamilyStore>>,
pub trakt_oauth: Option<Arc<TraktOAuthService>>,
pub trakt_sync: Option<TraktSyncService>,
}Expand description
Runtime state shared by media integration routes.
Fields§
§media: Option<MediaStore>§families: Option<Arc<dyn FamilyStore>>§trakt_oauth: Option<Arc<TraktOAuthService>>§trakt_sync: Option<TraktSyncService>Trait Implementations§
Source§impl Clone for MediaApiState
impl Clone for MediaApiState
Auto Trait Implementations§
impl !RefUnwindSafe for MediaApiState
impl !UnwindSafe for MediaApiState
impl Freeze for MediaApiState
impl Send for MediaApiState
impl Sync for MediaApiState
impl Unpin for MediaApiState
impl UnsafeUnpin for MediaApiState
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