pub struct VolumeSummary {
pub name: String,
pub path: String,
pub size_bytes: Option<u64>,
}Expand description
Legacy response shape kept for backwards compatibility with older SDK
consumers that deserialize strictly. New consumers should use
VolumeInfo. list_volumes now returns VolumeInfo which is a
strict superset of the fields in VolumeSummary.
Fields§
§name: StringVolume name (directory name).
path: StringHost filesystem path.
size_bytes: Option<u64>Approximate size in bytes.
Trait Implementations§
Source§impl ComposeSchema for VolumeSummary
impl ComposeSchema for VolumeSummary
Source§impl Debug for VolumeSummary
impl Debug for VolumeSummary
Source§impl<'de> Deserialize<'de> for VolumeSummary
impl<'de> Deserialize<'de> for VolumeSummary
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 Serialize for VolumeSummary
impl Serialize for VolumeSummary
Auto Trait Implementations§
impl Freeze for VolumeSummary
impl RefUnwindSafe for VolumeSummary
impl Send for VolumeSummary
impl Sync for VolumeSummary
impl Unpin for VolumeSummary
impl UnsafeUnpin for VolumeSummary
impl UnwindSafe for VolumeSummary
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