pub struct ModelChoice {
pub det: Model,
pub rec: Model,
pub tier: &'static str,
}Expand description
选中的模型。
Fields§
§det: Model§rec: Model§tier: &'static str“small” 或 “medium”。
Trait Implementations§
Source§impl Clone for ModelChoice
impl Clone for ModelChoice
impl Copy for ModelChoice
Source§impl Debug for ModelChoice
impl Debug for ModelChoice
impl Eq for ModelChoice
Source§impl PartialEq for ModelChoice
impl PartialEq for ModelChoice
impl StructuralPartialEq for ModelChoice
Auto Trait Implementations§
impl Forget for ModelChoice
impl Freeze for ModelChoice
impl RefUnwindSafe for ModelChoice
impl Send for ModelChoice
impl Sync for ModelChoice
impl Unpin for ModelChoice
impl UnsafeUnpin for ModelChoice
impl UnwindSafe for ModelChoice
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