pub struct CreateModelParams<'a> {
pub hf_repo_id: &'a str,
pub name: &'a str,
pub org: &'a str,
pub family: &'a str,
pub parameter_class: &'a str,
pub format: &'a str,
pub gguf_file: Option<&'a str>,
pub modality: Option<&'a str>,
pub description: Option<&'a str>,
pub approx_size_bytes: Option<i64>,
}Expand description
Parameters for registering a new model into the catalog via
create_model. The new row is private to the calling user.
Fields§
§hf_repo_id: &'a str§name: &'a str§org: &'a str§family: &'a str§parameter_class: &'a str§format: &'a str§gguf_file: Option<&'a str>§modality: Option<&'a str>§description: Option<&'a str>§approx_size_bytes: Option<i64>Trait Implementations§
Source§impl<'a> Clone for CreateModelParams<'a>
impl<'a> Clone for CreateModelParams<'a>
Source§fn clone(&self) -> CreateModelParams<'a>
fn clone(&self) -> CreateModelParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for CreateModelParams<'a>
impl<'a> Debug for CreateModelParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateModelParams<'a>
impl<'a> RefUnwindSafe for CreateModelParams<'a>
impl<'a> Send for CreateModelParams<'a>
impl<'a> Sync for CreateModelParams<'a>
impl<'a> Unpin for CreateModelParams<'a>
impl<'a> UnsafeUnpin for CreateModelParams<'a>
impl<'a> UnwindSafe for CreateModelParams<'a>
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