pub struct PublishStatus {
pub node_id: Option<String>,
pub publish_context: Option<HashMap<String, String>>,
pub state: Option<String>,
}
Expand description
PublishStatus : 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>
PublishState represents the state of a Volume as it pertains to its use on a particular Node.
Implementations§
Source§impl PublishStatus
impl PublishStatus
Sourcepub fn new() -> PublishStatus
pub fn new() -> PublishStatus
PublishStatus represents the status of the volume as published to an individual node
Trait Implementations§
Source§impl Clone for PublishStatus
impl Clone for PublishStatus
Source§fn clone(&self) -> PublishStatus
fn clone(&self) -> PublishStatus
Returns a duplicate 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 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
Source§impl PartialEq for PublishStatus
impl PartialEq for PublishStatus
Source§impl Serialize for PublishStatus
impl Serialize for PublishStatus
impl StructuralPartialEq for PublishStatus
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