pub struct ModelInfo {
pub id: String,
pub status: Status,
pub architecture: Option<Architecture>,
pub source: Option<String>,
pub meta: Option<Meta>,
}Expand description
One entry of the server’s /models.
Fields§
§id: StringThe model id requests name.
status: StatusIts state.
architecture: Option<Architecture>Its modalities.
source: Option<String>Where it comes from, such as preset.
meta: Option<Meta>Its weights and runtime.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ModelInfo
impl<'de> Deserialize<'de> for ModelInfo
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 ModelInfo
Auto Trait Implementations§
impl Forget for ModelInfo
impl Freeze for ModelInfo
impl RefUnwindSafe for ModelInfo
impl Send for ModelInfo
impl Sync for ModelInfo
impl Unpin for ModelInfo
impl UnsafeUnpin for ModelInfo
impl UnwindSafe for ModelInfo
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