pub struct CsiVolumeCapability {
pub access_mode: Option<CsiVolumeAccessMode>,
pub attachment_mode: Option<CsiVolumeAttachmentMode>,
}
Expand description
CSIVolumeCapability is a requested attachment and access mode for a volume
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§access_mode: Option<CsiVolumeAccessMode>
§attachment_mode: Option<CsiVolumeAttachmentMode>
Trait Implementations§
Source§impl Clone for CsiVolumeCapability
impl Clone for CsiVolumeCapability
Source§fn clone(&self) -> CsiVolumeCapability
fn clone(&self) -> CsiVolumeCapability
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 CsiVolumeCapability
impl Debug for CsiVolumeCapability
Source§impl<'de> Deserialize<'de> for CsiVolumeCapability
impl<'de> Deserialize<'de> for CsiVolumeCapability
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 CsiVolumeCapability
impl PartialEq for CsiVolumeCapability
Source§impl Serialize for CsiVolumeCapability
impl Serialize for CsiVolumeCapability
impl StructuralPartialEq for CsiVolumeCapability
Auto Trait Implementations§
impl Freeze for CsiVolumeCapability
impl RefUnwindSafe for CsiVolumeCapability
impl Send for CsiVolumeCapability
impl Sync for CsiVolumeCapability
impl Unpin for CsiVolumeCapability
impl UnwindSafe for CsiVolumeCapability
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