Struct bollard::secret::ClusterVolumePublishStatus
source · pub struct ClusterVolumePublishStatus {
pub node_id: Option<String>,
pub state: Option<ClusterVolumePublishStatusStateEnum>,
pub publish_context: Option<HashMap<String, String>>,
}
Fields§
§node_id: Option<String>
The ID of the Swarm node the volume is published on.
state: Option<ClusterVolumePublishStatusStateEnum>
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.
publish_context: Option<HashMap<String, String>>
A map of strings to strings returned by the CSI controller plugin when a volume is published.
Trait Implementations§
source§impl Clone for ClusterVolumePublishStatus
impl Clone for ClusterVolumePublishStatus
source§fn clone(&self) -> ClusterVolumePublishStatus
fn clone(&self) -> ClusterVolumePublishStatus
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 ClusterVolumePublishStatus
impl Debug for ClusterVolumePublishStatus
source§impl Default for ClusterVolumePublishStatus
impl Default for ClusterVolumePublishStatus
source§fn default() -> ClusterVolumePublishStatus
fn default() -> ClusterVolumePublishStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClusterVolumePublishStatus
impl<'de> Deserialize<'de> for ClusterVolumePublishStatus
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClusterVolumePublishStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ClusterVolumePublishStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ClusterVolumePublishStatus
impl PartialEq for ClusterVolumePublishStatus
source§fn eq(&self, other: &ClusterVolumePublishStatus) -> bool
fn eq(&self, other: &ClusterVolumePublishStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ClusterVolumePublishStatus
impl Serialize for ClusterVolumePublishStatus
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 ClusterVolumePublishStatus
Auto Trait Implementations§
impl Freeze for ClusterVolumePublishStatus
impl RefUnwindSafe for ClusterVolumePublishStatus
impl Send for ClusterVolumePublishStatus
impl Sync for ClusterVolumePublishStatus
impl Unpin for ClusterVolumePublishStatus
impl UnwindSafe for ClusterVolumePublishStatus
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)