pub struct ClusterVolume {
pub created_at: Option<DateTime<Utc>>,
pub id: Option<String>,
pub info: Option<ClusterVolumeInfoInlineItem>,
pub publish_status: Option<Vec<ClusterVolumePublishStatusInlineItem>>,
pub spec: Option<ClusterVolumeSpec>,
pub updated_at: Option<DateTime<Utc>>,
pub version: Option<ObjectVersion>,
}
Expand description
Options and information specific to, and only present on, Swarm CSI cluster volumes.
Fields§
§created_at: Option<DateTime<Utc>>
§id: Option<String>
The Swarm ID of this volume. Because cluster volumes are Swarm objects, they have an ID, unlike non-cluster volumes. This ID can be used to refer to the Volume instead of the name.
info: Option<ClusterVolumeInfoInlineItem>
Information about the global status of the volume.
publish_status: Option<Vec<ClusterVolumePublishStatusInlineItem>>
The status of the volume as it pertains to its publishing and use on specific nodes
spec: Option<ClusterVolumeSpec>
§updated_at: Option<DateTime<Utc>>
§version: Option<ObjectVersion>
Trait Implementations§
Source§impl Clone for ClusterVolume
impl Clone for ClusterVolume
Source§fn clone(&self) -> ClusterVolume
fn clone(&self) -> ClusterVolume
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 Debug for ClusterVolume
impl Debug for ClusterVolume
Source§impl<'de> Deserialize<'de> for ClusterVolume
impl<'de> Deserialize<'de> for ClusterVolume
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClusterVolume, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClusterVolume, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ClusterVolume
impl PartialEq for ClusterVolume
Source§impl Serialize for ClusterVolume
impl Serialize for ClusterVolume
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ClusterVolume
Auto Trait Implementations§
impl Freeze for ClusterVolume
impl RefUnwindSafe for ClusterVolume
impl Send for ClusterVolume
impl Sync for ClusterVolume
impl Unpin for ClusterVolume
impl UnwindSafe for ClusterVolume
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