Struct k8s_openapi_ext::storagev1::VolumeAttachmentStatus
source · [−]pub struct VolumeAttachmentStatus {
pub attach_error: Option<VolumeError>,
pub attached: bool,
pub attachment_metadata: Option<BTreeMap<String, String, Global>>,
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, Global>>
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<VolumeAttachmentStatus, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<VolumeAttachmentStatus, <D as Deserializer<'de>>::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
sourceimpl Serialize for VolumeAttachmentStatus
impl Serialize for VolumeAttachmentStatus
sourcefn 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 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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