pub struct MountModel<'a> {
pub model_id: &'a str,
pub snapshot_id: Option<&'a str>,
}Fields§
§model_id: &'a strId of the other model to mount.
snapshot_id: Option<&'a str>If specified, this snapshot on the other model will be used.
Trait Implementations§
Source§impl<'a> Clone for MountModel<'a>
impl<'a> Clone for MountModel<'a>
Source§fn clone(&self) -> MountModel<'a>
fn clone(&self) -> MountModel<'a>
Returns a duplicate 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 MountModel<'a>
impl<'a> Debug for MountModel<'a>
Auto Trait Implementations§
impl<'a> Freeze for MountModel<'a>
impl<'a> RefUnwindSafe for MountModel<'a>
impl<'a> Send for MountModel<'a>
impl<'a> Sync for MountModel<'a>
impl<'a> Unpin for MountModel<'a>
impl<'a> UnwindSafe for MountModel<'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