Struct decthings_api::rpc::model::CreateModelParams
source · pub struct CreateModelParams<'a, D: AsRef<[u8]>> {
pub name: &'a str,
pub description: &'a str,
pub options: CreateModelOptions<'a, D>,
}
Fields§
§name: &'a str
The model’s name.
description: &'a str
A description of the model.
options: CreateModelOptions<'a, D>
Required configuration for this model, such as model type, language to use, etc.
Trait Implementations§
source§impl<'a, D: Clone + AsRef<[u8]>> Clone for CreateModelParams<'a, D>
impl<'a, D: Clone + AsRef<[u8]>> Clone for CreateModelParams<'a, D>
source§fn clone(&self) -> CreateModelParams<'a, D>
fn clone(&self) -> CreateModelParams<'a, D>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'a, D> Freeze for CreateModelParams<'a, D>
impl<'a, D> RefUnwindSafe for CreateModelParams<'a, D>where
D: RefUnwindSafe,
impl<'a, D> Send for CreateModelParams<'a, D>where
D: Sync,
impl<'a, D> Sync for CreateModelParams<'a, D>where
D: Sync,
impl<'a, D> Unpin for CreateModelParams<'a, D>
impl<'a, D> UnwindSafe for CreateModelParams<'a, D>where
D: RefUnwindSafe,
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