pub struct WebState {
pub app: AppState,
pub templates: Arc<Templates>,
}Expand description
Extended application state with templates
Fields§
§app: AppState§templates: Arc<Templates>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for WebState
impl !UnwindSafe for WebState
impl Freeze for WebState
impl Send for WebState
impl Sync for WebState
impl Unpin for WebState
impl UnsafeUnpin for WebState
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