pub struct ClusterVolumePublishStatusInlineItem {
pub node_id: Option<String>,
pub publish_context: Option<HashMap<String, String, RandomState>>,
pub state: Option<String>,
}
Fields§
§node_id: Option<String>
The ID of the Swarm node the volume is published on.
publish_context: Option<HashMap<String, String, RandomState>>
A map of strings to strings returned by the CSI controller plugin when a volume is published.
state: Option<String>
The published state of the volume.
pending-publish
The volume should be published to this node, but the call to the controller plugin to do so has not yet been successfully completed.published
The volume is published successfully to the node.pending-node-unpublish
The volume should be unpublished from the node, and the manager is awaiting confirmation from the worker that it has done so.pending-controller-unpublish
The volume is successfully unpublished from the node, but has not yet been successfully unpublished on the controller.
Trait Implementations§
source§impl Clone for ClusterVolumePublishStatusInlineItem
impl Clone for ClusterVolumePublishStatusInlineItem
source§fn clone(&self) -> ClusterVolumePublishStatusInlineItem
fn clone(&self) -> ClusterVolumePublishStatusInlineItem
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<'de> Deserialize<'de> for ClusterVolumePublishStatusInlineItem
impl<'de> Deserialize<'de> for ClusterVolumePublishStatusInlineItem
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ClusterVolumePublishStatusInlineItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ClusterVolumePublishStatusInlineItem, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ClusterVolumePublishStatusInlineItem> for ClusterVolumePublishStatusInlineItem
impl PartialEq<ClusterVolumePublishStatusInlineItem> for ClusterVolumePublishStatusInlineItem
source§fn eq(&self, other: &ClusterVolumePublishStatusInlineItem) -> bool
fn eq(&self, other: &ClusterVolumePublishStatusInlineItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ClusterVolumePublishStatusInlineItem
impl Serialize for ClusterVolumePublishStatusInlineItem
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