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 JsonSchema for HostPathVolumeSource
impl JsonSchema for HostPathVolumeSource
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for HostPathVolumeSource
impl PartialEq 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 Freeze for HostPathVolumeSource
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