Struct disk::composite::PartitionInfo
source · pub struct PartitionInfo {
pub label: String,
pub path: PathBuf,
pub partition_type: ImagePartitionType,
pub writable: bool,
pub size: u64,
pub part_guid: Option<Uuid>,
}
Expand description
Information about a partition to create.
Fields§
§label: String
§path: PathBuf
§partition_type: ImagePartitionType
§writable: bool
§size: u64
§part_guid: Option<Uuid>
Implementations§
source§impl PartitionInfo
impl PartitionInfo
fn aligned_size(&self) -> u64
Trait Implementations§
source§impl Clone for PartitionInfo
impl Clone for PartitionInfo
source§fn clone(&self) -> PartitionInfo
fn clone(&self) -> PartitionInfo
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 PartitionInfo
impl Debug for PartitionInfo
source§impl PartialEq for PartitionInfo
impl PartialEq for PartitionInfo
source§fn eq(&self, other: &PartitionInfo) -> bool
fn eq(&self, other: &PartitionInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PartitionInfo
impl StructuralPartialEq for PartitionInfo
Auto Trait Implementations§
impl RefUnwindSafe for PartitionInfo
impl Send for PartitionInfo
impl Sync for PartitionInfo
impl Unpin for PartitionInfo
impl UnwindSafe for PartitionInfo
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