pub struct AppState {
pub db: Arc<Database>,
pub live_kit_client: Option<Arc<dyn Client>>,
pub config: Config,
}
Fields§
§db: Arc<Database>
§live_kit_client: Option<Arc<dyn Client>>
§config: Config
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl !UnwindSafe for AppState
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