Struct decthings_api::rpc::model::TrainParams
source · pub struct TrainParams<'a> {
pub model_id: &'a str,
pub state_id: Option<&'a str>,
pub new_state_name: &'a str,
pub params: Vec<DecthingsParameterProvider<'a>>,
pub execution_location: ExecutionLocationProvider<'a>,
}
Fields§
§model_id: &'a str
The model’s id.
state_id: Option<&'a str>
Which state to use when instantiating the model. Defaults to the active state.
new_state_name: &'a str
A name to give the new state once it is created.
params: Vec<DecthingsParameterProvider<'a>>
Parameters to provide to the train function on the running model.
execution_location: ExecutionLocationProvider<'a>
Which launcher to use for running the operation.
Trait Implementations§
source§impl<'a> Clone for TrainParams<'a>
impl<'a> Clone for TrainParams<'a>
source§fn clone(&self) -> TrainParams<'a>
fn clone(&self) -> TrainParams<'a>
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 moresource§impl<'a> Debug for TrainParams<'a>
impl<'a> Debug for TrainParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for TrainParams<'a>
impl<'a> RefUnwindSafe for TrainParams<'a>
impl<'a> Send for TrainParams<'a>
impl<'a> Sync for TrainParams<'a>
impl<'a> Unpin for TrainParams<'a>
impl<'a> UnwindSafe for TrainParams<'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