pub struct CreateStateMountModel<'a> {
pub model_id: &'a str,
pub state_id: Option<&'a str>,
pub snapshot_id: Option<&'a str>,
}Fields§
§model_id: &'a strId of the other model to mount.
state_id: Option<&'a str>Specifies which state on the other model to use. Defaults to the active state.
snapshot_id: Option<&'a str>If specified, this snapshot on the other model will be used. Cannot be used together with stateId, as the state in the snapshot will be used if snapshotId is specified.
Trait Implementations§
source§impl<'a> Clone for CreateStateMountModel<'a>
impl<'a> Clone for CreateStateMountModel<'a>
source§fn clone(&self) -> CreateStateMountModel<'a>
fn clone(&self) -> CreateStateMountModel<'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 CreateStateMountModel<'a>
impl<'a> Debug for CreateStateMountModel<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateStateMountModel<'a>
impl<'a> RefUnwindSafe for CreateStateMountModel<'a>
impl<'a> Send for CreateStateMountModel<'a>
impl<'a> Sync for CreateStateMountModel<'a>
impl<'a> Unpin for CreateStateMountModel<'a>
impl<'a> UnwindSafe for CreateStateMountModel<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)