pub struct MountImage {
pub image_path: String,
pub mount_point: String,
pub ignore_non_existing: bool,
pub mount_options: Vec<PartitionMountOptions>,
}
Expand description
Definition of mount image.
Fields§
§image_path: String
The path of the image or block device.
mount_point: String
The mount point for the root filesystem of the image.
ignore_non_existing: bool
Ignore the extension image if the path does not exist.
mount_options: Vec<PartitionMountOptions>
Mount options for the image.
Trait Implementations§
Source§impl Clone for MountImage
impl Clone for MountImage
Source§fn clone(&self) -> MountImage
fn clone(&self) -> MountImage
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 Debug for MountImage
impl Debug for MountImage
Source§impl<'de> Deserialize<'de> for MountImage
impl<'de> Deserialize<'de> for MountImage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<MountImage> for Value<'static>
impl From<MountImage> for Value<'static>
Source§fn from(s: MountImage) -> Self
fn from(s: MountImage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MountImage
impl PartialEq for MountImage
Source§impl Serialize for MountImage
impl Serialize for MountImage
Source§impl TryFrom<MountImage> for OwnedValue
impl TryFrom<MountImage> for OwnedValue
Source§impl TryFrom<OwnedValue> for MountImage
impl TryFrom<OwnedValue> for MountImage
Source§impl TryFrom<Value<'static>> for MountImage
impl TryFrom<Value<'static>> for MountImage
Source§impl Type for MountImage
impl Type for MountImage
impl Eq for MountImage
impl StructuralPartialEq for MountImage
Auto Trait Implementations§
impl Freeze for MountImage
impl RefUnwindSafe for MountImage
impl Send for MountImage
impl Sync for MountImage
impl Unpin for MountImage
impl UnwindSafe for MountImage
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§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.