pub struct StoragePoolInfo(/* private fields */);
Implementations§
Source§impl StoragePoolInfo
impl StoragePoolInfo
pub fn get_capacity(&self) -> u64
pub fn get_allocation(&self) -> u64
pub fn get_available(&self) -> u64
Trait Implementations§
Source§impl Debug for StoragePoolInfo
impl Debug for StoragePoolInfo
Source§impl From<StoragePoolGetInfoResponse> for StoragePoolInfo
impl From<StoragePoolGetInfoResponse> for StoragePoolInfo
Source§fn from(v: StoragePoolGetInfoResponse) -> Self
fn from(v: StoragePoolGetInfoResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StoragePoolInfo
impl RefUnwindSafe for StoragePoolInfo
impl Send for StoragePoolInfo
impl Sync for StoragePoolInfo
impl Unpin for StoragePoolInfo
impl UnwindSafe for StoragePoolInfo
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