pub struct OndeModel {
pub id: String,
pub name: Option<String>,
pub hf_repo_id: Option<String>,
pub gguf_file: Option<String>,
pub family: Option<String>,
pub parameter_class: Option<String>,
pub format: Option<String>,
pub approx_size_bytes: Option<i64>,
pub description: Option<String>,
pub custom: bool,
}Expand description
A model from the Onde catalog, assignable to an OndeApp.
Fields§
§id: String§name: Option<String>§hf_repo_id: Option<String>§gguf_file: Option<String>§family: Option<String>§parameter_class: Option<String>§format: Option<String>§approx_size_bytes: Option<i64>§description: Option<String>§custom: booltrue if this row was self-registered by a client (e.g. a fine-tune
pushed to Hugging Face) rather than one of the official catalog
models. Private to the registering user — other clients never see it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OndeModel
impl<'de> Deserialize<'de> for OndeModel
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 OndeModel
impl RefUnwindSafe for OndeModel
impl Send for OndeModel
impl Sync for OndeModel
impl Unpin for OndeModel
impl UnsafeUnpin for OndeModel
impl UnwindSafe for OndeModel
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