Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::VolumeMount [−][src]
pub struct VolumeMount {
pub mount_path: String,
pub name: String,
pub read_only: Option<bool>,
pub sub_path: Option<String>,
}VolumeMount describes a mounting of a Volume within a container.
Fields
mount_path: String
Path within the container at which the volume should be mounted. Must not contain ':'.
name: String
This must match the Name of a Volume.
read_only: Option<bool>
Mounted read-only if true, read-write otherwise (false or unspecified). Defaults to false.
sub_path: Option<String>
Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
Trait Implementations
impl Clone for VolumeMount[src]
impl Clone for VolumeMountfn clone(&self) -> VolumeMount[src]
fn clone(&self) -> VolumeMountReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for VolumeMount[src]
impl Debug for VolumeMountfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for VolumeMount[src]
impl Default for VolumeMountfn default() -> VolumeMount[src]
fn default() -> VolumeMountReturns the "default value" for a type. Read more
impl PartialEq for VolumeMount[src]
impl PartialEq for VolumeMountfn eq(&self, other: &VolumeMount) -> bool[src]
fn eq(&self, other: &VolumeMount) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &VolumeMount) -> bool[src]
fn ne(&self, other: &VolumeMount) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for VolumeMount[src]
impl<'de> Deserialize<'de> for VolumeMountfn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Serialize for VolumeMount[src]
impl Serialize for VolumeMountAuto Trait Implementations
impl Send for VolumeMount
impl Send for VolumeMountimpl Sync for VolumeMount
impl Sync for VolumeMount