Struct decthings_api::rpc::model::CreateStateParams
source · pub struct CreateStateParams<'a> {
pub model_id: &'a str,
pub name: &'a str,
pub params: Vec<DecthingsParameterProvider<'a>>,
pub mount_models: Option<&'a [CreateStateMountModel<'a>]>,
pub execution_location: ExecutionLocationProvider<'a>,
}
Fields§
§model_id: &'a str
The model’s id.
name: &'a str
Name of the new state.
params: Vec<DecthingsParameterProvider<'a>>
Parameters to provide to the createModelState function on the running model.
mount_models: Option<&'a [CreateStateMountModel<'a>]>
Allows your model to access to files and state of these additional models. Can be useful for merging models together.
execution_location: ExecutionLocationProvider<'a>
Which launcher to use for running the operation.
Trait Implementations§
source§impl<'a> Clone for CreateStateParams<'a>
impl<'a> Clone for CreateStateParams<'a>
source§fn clone(&self) -> CreateStateParams<'a>
fn clone(&self) -> CreateStateParams<'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 CreateStateParams<'a>
impl<'a> Debug for CreateStateParams<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateStateParams<'a>
impl<'a> RefUnwindSafe for CreateStateParams<'a>
impl<'a> Send for CreateStateParams<'a>
impl<'a> Sync for CreateStateParams<'a>
impl<'a> Unpin for CreateStateParams<'a>
impl<'a> UnwindSafe for CreateStateParams<'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