pub struct VolumeUsageDataBuilder { /* private fields */ }
Expand description
Builder for VolumeUsageData
.
Implementations§
Source§impl VolumeUsageDataBuilder
impl VolumeUsageDataBuilder
Sourcepub fn ref_count<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn ref_count<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
The number of containers referencing this volume. This field
is set to -1
if the reference-count is not available.
Sourcepub fn size<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
pub fn size<VALUE: Into<Option<i64>>>(&mut self, value: VALUE) -> &mut Self
Amount of disk space used by the volume (in bytes). This information
is only available for volumes created with the "local"
volume
driver. For volumes created with other volume drivers, this field
is set to -1
(“not available”).
Trait Implementations§
Source§impl Clone for VolumeUsageDataBuilder
impl Clone for VolumeUsageDataBuilder
Source§fn clone(&self) -> VolumeUsageDataBuilder
fn clone(&self) -> VolumeUsageDataBuilder
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 Default for VolumeUsageDataBuilder
impl Default for VolumeUsageDataBuilder
Source§fn default() -> VolumeUsageDataBuilder
fn default() -> VolumeUsageDataBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VolumeUsageDataBuilder
impl RefUnwindSafe for VolumeUsageDataBuilder
impl Send for VolumeUsageDataBuilder
impl Sync for VolumeUsageDataBuilder
impl Unpin for VolumeUsageDataBuilder
impl UnwindSafe for VolumeUsageDataBuilder
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