Struct k8s_openapi::api::core::v1::HostPathVolumeSource
source · pub struct HostPathVolumeSource {
pub path: String,
pub type_: Option<String>,
}
Expand description
Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.
Fields§
§path: String
path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
type_: Option<String>
type for HostPath Volume Defaults to “” More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
Trait Implementations§
source§impl Clone for HostPathVolumeSource
impl Clone for HostPathVolumeSource
source§fn clone(&self) -> HostPathVolumeSource
fn clone(&self) -> HostPathVolumeSource
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 HostPathVolumeSource
impl Debug for HostPathVolumeSource
source§impl DeepMerge for HostPathVolumeSource
impl DeepMerge for HostPathVolumeSource
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for HostPathVolumeSource
impl Default for HostPathVolumeSource
source§fn default() -> HostPathVolumeSource
fn default() -> HostPathVolumeSource
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HostPathVolumeSource
impl<'de> Deserialize<'de> for HostPathVolumeSource
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<HostPathVolumeSource> for HostPathVolumeSource
impl PartialEq<HostPathVolumeSource> for HostPathVolumeSource
source§fn eq(&self, other: &HostPathVolumeSource) -> bool
fn eq(&self, other: &HostPathVolumeSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for HostPathVolumeSource
impl Serialize for HostPathVolumeSource
impl StructuralPartialEq for HostPathVolumeSource
Auto Trait Implementations§
impl RefUnwindSafe for HostPathVolumeSource
impl Send for HostPathVolumeSource
impl Sync for HostPathVolumeSource
impl Unpin for HostPathVolumeSource
impl UnwindSafe for HostPathVolumeSource
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