pub struct AiModel {Show 15 fields
pub id: Uuid,
pub name: String,
pub version: String,
pub size_gb: f64,
pub model_type: ModelType,
pub provider: String,
pub description: Option<String>,
pub tags: Vec<String>,
pub capabilities: Vec<String>,
pub requirements: ModelRequirements,
pub status: ModelStatus,
pub download_url: Option<String>,
pub checksum: Option<String>,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}
Expand description
AI模型信息
Fields§
§id: Uuid
§name: String
§version: String
§size_gb: f64
§model_type: ModelType
§provider: String
§description: Option<String>
§capabilities: Vec<String>
§requirements: ModelRequirements
§status: ModelStatus
§download_url: Option<String>
§checksum: Option<String>
§created_at: DateTime<Utc>
§updated_at: DateTime<Utc>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AiModel
impl<'de> Deserialize<'de> for AiModel
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
Auto Trait Implementations§
impl Freeze for AiModel
impl RefUnwindSafe for AiModel
impl Send for AiModel
impl Sync for AiModel
impl Unpin for AiModel
impl UnwindSafe for AiModel
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