pub struct ShareableSummaryStatus {
pub capacity: Option<Vec<ShareableCapacityStatus>>,
pub fully_available_devices: i32,
pub partially_available_devices: i32,
}Expand description
ShareableSummaryStatus reports aggregate capacity for a pool that contains devices with AllowMultipleAllocations.
Fields§
§capacity: Option<Vec<ShareableCapacityStatus>>Capacity reports aggregate total, consumed, and available amounts per shareable capacity key across the pool.
fully_available_devices: i32FullyAvailableDevices is the number of shareable devices with no capacity consumed.
partially_available_devices: i32PartiallyAvailableDevices is the number of shareable devices with some but not all capacity consumed.
Trait Implementations§
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other into self.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
Auto Trait Implementations§
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