Struct k8s_openapi_ext::corev1::HostPathVolumeSource
source · [−]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
sourceimpl Clone for HostPathVolumeSource
impl Clone for HostPathVolumeSource
sourcefn clone(&self) -> HostPathVolumeSource
fn clone(&self) -> HostPathVolumeSource
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HostPathVolumeSource
impl Debug for HostPathVolumeSource
sourceimpl DeepMerge for HostPathVolumeSource
impl DeepMerge for HostPathVolumeSource
sourcefn merge_from(&mut self, other: HostPathVolumeSource)
fn merge_from(&mut self, other: HostPathVolumeSource)
Merge
other
into self
.sourceimpl Default for HostPathVolumeSource
impl Default for HostPathVolumeSource
sourcefn default() -> HostPathVolumeSource
fn default() -> HostPathVolumeSource
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for HostPathVolumeSource
impl<'de> Deserialize<'de> for HostPathVolumeSource
sourcefn deserialize<D>(
deserializer: D
) -> Result<HostPathVolumeSource, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<HostPathVolumeSource, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<HostPathVolumeSource> for HostPathVolumeSource
impl PartialEq<HostPathVolumeSource> for HostPathVolumeSource
sourcefn eq(&self, other: &HostPathVolumeSource) -> bool
fn eq(&self, other: &HostPathVolumeSource) -> bool
sourceimpl Serialize for HostPathVolumeSource
impl Serialize for HostPathVolumeSource
sourcefn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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