Struct chat_flame_backend::server::AppState
source · pub struct AppState {
pub config: Config,
pub text_generation: Option<TextGeneration>,
}
Fields§
§config: Config
§text_generation: Option<TextGeneration>
Trait 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