pub struct ClusterVolumePublishStatusInlineItem {
pub node_id: Option<String>,
pub publish_context: Option<HashMap<String, String>>,
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>>
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 for ClusterVolumePublishStatusInlineItem
impl PartialEq for ClusterVolumePublishStatusInlineItem
Source§fn eq(&self, other: &ClusterVolumePublishStatusInlineItem) -> bool
fn eq(&self, other: &ClusterVolumePublishStatusInlineItem) -> bool
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
impl StructuralPartialEq for ClusterVolumePublishStatusInlineItem
Auto Trait Implementations§
impl Freeze for ClusterVolumePublishStatusInlineItem
impl RefUnwindSafe for ClusterVolumePublishStatusInlineItem
impl Send for ClusterVolumePublishStatusInlineItem
impl Sync for ClusterVolumePublishStatusInlineItem
impl Unpin for ClusterVolumePublishStatusInlineItem
impl UnwindSafe for ClusterVolumePublishStatusInlineItem
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