Struct k8s_openapi::api::storage::v1::VolumeAttachmentStatus
source · [−]pub struct VolumeAttachmentStatus {
pub attach_error: Option<VolumeError>,
pub attached: bool,
pub attachment_metadata: Option<BTreeMap<String, String>>,
pub detach_error: Option<VolumeError>,
}
Expand description
VolumeAttachmentStatus is the status of a VolumeAttachment request.
Fields
attach_error: Option<VolumeError>
The last error encountered during attach operation, if any. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
attached: bool
Indicates the volume is successfully attached. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
attachment_metadata: Option<BTreeMap<String, String>>
Upon successful attach, this field is populated with any information returned by the attach operation that must be passed into subsequent WaitForAttach or Mount calls. This field must only be set by the entity completing the attach operation, i.e. the external-attacher.
detach_error: Option<VolumeError>
The last error encountered during detach operation, if any. This field must only be set by the entity completing the detach operation, i.e. the external-attacher.
Trait Implementations
sourceimpl Clone for VolumeAttachmentStatus
impl Clone for VolumeAttachmentStatus
sourcefn clone(&self) -> VolumeAttachmentStatus
fn clone(&self) -> VolumeAttachmentStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VolumeAttachmentStatus
impl Debug for VolumeAttachmentStatus
sourceimpl Default for VolumeAttachmentStatus
impl Default for VolumeAttachmentStatus
sourcefn default() -> VolumeAttachmentStatus
fn default() -> VolumeAttachmentStatus
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for VolumeAttachmentStatus
impl<'de> Deserialize<'de> for VolumeAttachmentStatus
sourcefn 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
sourceimpl PartialEq<VolumeAttachmentStatus> for VolumeAttachmentStatus
impl PartialEq<VolumeAttachmentStatus> for VolumeAttachmentStatus
sourcefn eq(&self, other: &VolumeAttachmentStatus) -> bool
fn eq(&self, other: &VolumeAttachmentStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VolumeAttachmentStatus) -> bool
fn ne(&self, other: &VolumeAttachmentStatus) -> bool
This method tests for !=
.
sourceimpl Serialize for VolumeAttachmentStatus
impl Serialize for VolumeAttachmentStatus
impl StructuralPartialEq for VolumeAttachmentStatus
Auto Trait Implementations
impl RefUnwindSafe for VolumeAttachmentStatus
impl Send for VolumeAttachmentStatus
impl Sync for VolumeAttachmentStatus
impl Unpin for VolumeAttachmentStatus
impl UnwindSafe for VolumeAttachmentStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more