pub struct PartitionInfo {
pub block_count: u64,
pub type_guid: [u8; 16],
pub instance_guid: [u8; 16],
pub name: Option<String>,
pub flags: u64,
}
Expand description
Information associated with the block device.
Fields§
§block_count: u64
If block_count
is zero, the server will use the get_volume_info
method to get the count
of assigned slices and use that (along with the slice and block sizes) to determine the
block count.
type_guid: [u8; 16]
§instance_guid: [u8; 16]
§name: Option<String>
§flags: 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 moreAuto Trait Implementations§
impl Freeze for PartitionInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)