pub struct HostPathVolumeSource {
pub path: Option<String>,
pub type: Option<String>,
}Expand description
Host path volumes do not support ownership management or SELinux relabeling.
Fields§
§path: Option<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>+enum
Implementations§
Source§impl HostPathVolumeSource
impl HostPathVolumeSource
pub fn new() -> HostPathVolumeSource
Trait Implementations§
Source§impl Clone for HostPathVolumeSource
impl Clone for HostPathVolumeSource
Source§fn clone(&self) -> HostPathVolumeSource
fn clone(&self) -> HostPathVolumeSource
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 Debug for HostPathVolumeSource
impl Debug for HostPathVolumeSource
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 FromStr for HostPathVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a HostPathVolumeSource value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for HostPathVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a HostPathVolumeSource value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for HostPathVolumeSource
impl PartialEq for HostPathVolumeSource
Source§impl Serialize for HostPathVolumeSource
impl Serialize for HostPathVolumeSource
Source§impl ToString for HostPathVolumeSource
Converts the HostPathVolumeSource value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for HostPathVolumeSource
Converts the HostPathVolumeSource value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for HostPathVolumeSource
impl Validate for HostPathVolumeSource
Source§impl<'v_a> ValidateArgs<'v_a> for HostPathVolumeSource
impl<'v_a> ValidateArgs<'v_a> 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