[][src]Struct k8s_openapi::api::core::v1::LocalVolumeSource

pub struct LocalVolumeSource {
    pub fs_type: Option<String>,
    pub path: String,
}

Local represents directly-attached storage with node affinity (Beta feature)

Fields

fs_type: Option<String>

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 fileystem if unspecified.

path: String

The full path to the volume on the node. It can be either a directory or block device (disk, partition, ...).

Trait Implementations

impl Clone for LocalVolumeSource[src]

impl Debug for LocalVolumeSource[src]

impl Default for LocalVolumeSource[src]

impl<'de> Deserialize<'de> for LocalVolumeSource[src]

impl PartialEq<LocalVolumeSource> for LocalVolumeSource[src]

impl Serialize for LocalVolumeSource[src]

impl StructuralPartialEq for LocalVolumeSource[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.