Struct k8s_openapi::api::core::v1::LocalVolumeSource
source · [−]Expand description
Local represents directly-attached storage with node affinity (Beta feature)
Fields
fs_type: Option<String>
fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. The default value is to auto-select a filesystem if unspecified.
path: String
path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, …).
Trait Implementations
sourceimpl Clone for LocalVolumeSource
impl Clone for LocalVolumeSource
sourcefn clone(&self) -> LocalVolumeSource
fn clone(&self) -> LocalVolumeSource
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 LocalVolumeSource
impl Debug for LocalVolumeSource
sourceimpl Default for LocalVolumeSource
impl Default for LocalVolumeSource
sourcefn default() -> LocalVolumeSource
fn default() -> LocalVolumeSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LocalVolumeSource
impl<'de> Deserialize<'de> for LocalVolumeSource
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<LocalVolumeSource> for LocalVolumeSource
impl PartialEq<LocalVolumeSource> for LocalVolumeSource
sourcefn eq(&self, other: &LocalVolumeSource) -> bool
fn eq(&self, other: &LocalVolumeSource) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LocalVolumeSource) -> bool
fn ne(&self, other: &LocalVolumeSource) -> bool
This method tests for !=
.
sourceimpl Serialize for LocalVolumeSource
impl Serialize for LocalVolumeSource
impl StructuralPartialEq for LocalVolumeSource
Auto Trait Implementations
impl RefUnwindSafe for LocalVolumeSource
impl Send for LocalVolumeSource
impl Sync for LocalVolumeSource
impl Unpin for LocalVolumeSource
impl UnwindSafe for LocalVolumeSource
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