Struct k8s_openapi::v1_9::api::core::v1::VolumeDevice[][src]

pub struct VolumeDevice {
    pub device_path: String,
    pub name: String,
}

volumeDevice describes a mapping of a raw block device within a container.

Fields

devicePath is the path inside of the container that the device will be mapped to.

name must match the name of a persistentVolumeClaim in the pod

Trait Implementations

impl Clone for VolumeDevice
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for VolumeDevice
[src]

Formats the value using the given formatter. Read more

impl Default for VolumeDevice
[src]

Returns the "default value" for a type. Read more

impl PartialEq for VolumeDevice
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for VolumeDevice
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations