pub struct IoK8sApiCoreV1HostPathVolumeSource {
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 IoK8sApiCoreV1HostPathVolumeSource
impl Clone for IoK8sApiCoreV1HostPathVolumeSource
Source§fn clone(&self) -> IoK8sApiCoreV1HostPathVolumeSource
fn clone(&self) -> IoK8sApiCoreV1HostPathVolumeSource
Returns a duplicate 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<'de> Deserialize<'de> for IoK8sApiCoreV1HostPathVolumeSource
impl<'de> Deserialize<'de> for IoK8sApiCoreV1HostPathVolumeSource
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 From<&IoK8sApiCoreV1HostPathVolumeSource> for IoK8sApiCoreV1HostPathVolumeSource
impl From<&IoK8sApiCoreV1HostPathVolumeSource> for IoK8sApiCoreV1HostPathVolumeSource
Source§fn from(value: &IoK8sApiCoreV1HostPathVolumeSource) -> Self
fn from(value: &IoK8sApiCoreV1HostPathVolumeSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1HostPathVolumeSource
impl RefUnwindSafe for IoK8sApiCoreV1HostPathVolumeSource
impl Send for IoK8sApiCoreV1HostPathVolumeSource
impl Sync for IoK8sApiCoreV1HostPathVolumeSource
impl Unpin for IoK8sApiCoreV1HostPathVolumeSource
impl UnwindSafe for IoK8sApiCoreV1HostPathVolumeSource
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