pub struct ServeRequest {
pub model_id: String,
pub endpoint: String,
pub model_path: Option<PathBuf>,
pub context: Option<u32>,
pub cache: Option<CacheProfile>,
}Fields§
§model_id: String§endpoint: String§model_path: Option<PathBuf>§context: Option<u32>§cache: Option<CacheProfile>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ServeRequest
impl RefUnwindSafe for ServeRequest
impl Send for ServeRequest
impl Sync for ServeRequest
impl Unpin for ServeRequest
impl UnsafeUnpin for ServeRequest
impl UnwindSafe for ServeRequest
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