pub struct Model {
pub owner: String,
pub name: String,
pub description: Option<String>,
pub visibility: String,
pub github_url: Option<String>,
pub paper_url: Option<String>,
pub license_url: Option<String>,
pub cover_image_url: Option<String>,
pub latest_version: Option<ModelVersion>,
}
Expand description
Basic model information.
Fields§
§owner: String
Model owner
name: String
Model name
description: Option<String>
Model description
visibility: String
Model visibility
github_url: Option<String>
GitHub URL
paper_url: Option<String>
Paper URL
license_url: Option<String>
License URL
cover_image_url: Option<String>
Cover image URL
latest_version: Option<ModelVersion>
Latest version
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Model
impl<'de> Deserialize<'de> for Model
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 Model
impl RefUnwindSafe for Model
impl Send for Model
impl Sync for Model
impl Unpin for Model
impl UnwindSafe for Model
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