pub struct PartitionTypeStatus {
pub allocatable: i32,
pub attribute: String,
pub total: i32,
pub type_: String,
}Expand description
PartitionTypeStatus reports allocatability for a single partition type, identified by the value of a grouping attribute.
Fields§
§allocatable: i32Allocatable is the number of additional devices of this partition type that could still be allocated given current shared-counter consumption.
attribute: StringAttribute is the fully qualified name of the device attribute whose value groups this entry. It is the PartitionTypeAttribute declared by the devices’ own slice, or the default named in the request when their slice declares none.
total: i32Total is the number of devices of this partition type in the pool.
type_: StringType is the partition type value (e.g. “Full” or “Half”).
Trait Implementations§
Source§impl Clone for PartitionTypeStatus
impl Clone for PartitionTypeStatus
Source§impl Debug for PartitionTypeStatus
impl Debug for PartitionTypeStatus
Source§impl DeepMerge for PartitionTypeStatus
impl DeepMerge for PartitionTypeStatus
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.Source§impl Default for PartitionTypeStatus
impl Default for PartitionTypeStatus
Source§impl<'de> Deserialize<'de> for PartitionTypeStatus
impl<'de> Deserialize<'de> for PartitionTypeStatus
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 PartialEq for PartitionTypeStatus
impl PartialEq for PartitionTypeStatus
Source§impl Serialize for PartitionTypeStatus
impl Serialize for PartitionTypeStatus
impl StructuralPartialEq for PartitionTypeStatus
Auto Trait Implementations§
impl Freeze for PartitionTypeStatus
impl RefUnwindSafe for PartitionTypeStatus
impl Send for PartitionTypeStatus
impl Sync for PartitionTypeStatus
impl Unpin for PartitionTypeStatus
impl UnsafeUnpin for PartitionTypeStatus
impl UnwindSafe for PartitionTypeStatus
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