pub struct PublishStatus {
pub node_id: Option<String>,
pub publish_context: Option<HashMap<String, String>>,
pub state: Option<String>,
}
Available on crate feature
v5
only.Expand description
PublishStatus represents the status of the volume as published to an individual node
Fields§
§node_id: Option<String>
NodeID is the ID of the swarm node this Volume is published to.
publish_context: Option<HashMap<String, String>>
PublishContext is the PublishContext returned by the CSI plugin when a volume is published.
state: Option<String>
Trait Implementations§
Source§impl Debug for PublishStatus
impl Debug for PublishStatus
Source§impl Default for PublishStatus
impl Default for PublishStatus
Source§fn default() -> PublishStatus
fn default() -> PublishStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublishStatus
impl<'de> Deserialize<'de> for PublishStatus
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
Auto Trait Implementations§
impl Freeze for PublishStatus
impl RefUnwindSafe for PublishStatus
impl Send for PublishStatus
impl Sync for PublishStatus
impl Unpin for PublishStatus
impl UnwindSafe for PublishStatus
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