pub enum ModelSize {
Small,
Medium,
Large,
XLarge,
}Expand description
模型大小分类
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModelSize
impl<'de> Deserialize<'de> for ModelSize
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ModelSize
Auto Trait Implementations§
impl Freeze for ModelSize
impl RefUnwindSafe for ModelSize
impl Send for ModelSize
impl Sync for ModelSize
impl Unpin for ModelSize
impl UnsafeUnpin for ModelSize
impl UnwindSafe for ModelSize
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