pub struct CsiMountOptions {
pub fs_type: String,
pub mount_flags: Vec<String>,
}
Expand description
CSIMountOptions contain optional additional configuration that can be used when specifying that a Volume should be used with VolumeAccessTypeMount.
This struct was generated based on the Go types of the official Nomad API client.
Fields§
§fs_type: String
FSType is an optional field that allows an operator to specify the type of the filesystem.
mount_flags: Vec<String>
MountFlags contains additional options that may be used when mounting the volume by the plugin. This may contain sensitive data and should not be leaked.
Trait Implementations§
Source§impl Clone for CsiMountOptions
impl Clone for CsiMountOptions
Source§fn clone(&self) -> CsiMountOptions
fn clone(&self) -> CsiMountOptions
Returns a copy 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 CsiMountOptions
impl Debug for CsiMountOptions
Source§impl Default for CsiMountOptions
impl Default for CsiMountOptions
Source§fn default() -> CsiMountOptions
fn default() -> CsiMountOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CsiMountOptions
impl<'de> Deserialize<'de> for CsiMountOptions
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 CsiMountOptions
impl PartialEq for CsiMountOptions
Source§impl Serialize for CsiMountOptions
impl Serialize for CsiMountOptions
impl StructuralPartialEq for CsiMountOptions
Auto Trait Implementations§
impl Freeze for CsiMountOptions
impl RefUnwindSafe for CsiMountOptions
impl Send for CsiMountOptions
impl Sync for CsiMountOptions
impl Unpin for CsiMountOptions
impl UnwindSafe for CsiMountOptions
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