pub struct FlockerVolumeSource {
pub dataset_name: Option<String>,
pub dataset_uuid: Option<String>,
}Expand description
One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.
Fields§
§dataset_name: Option<String>Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated +optional
dataset_uuid: Option<String>UUID of the dataset. This is unique identifier of a Flocker dataset +optional
Implementations§
Source§impl FlockerVolumeSource
impl FlockerVolumeSource
pub fn new() -> FlockerVolumeSource
Trait Implementations§
Source§impl Clone for FlockerVolumeSource
impl Clone for FlockerVolumeSource
Source§fn clone(&self) -> FlockerVolumeSource
fn clone(&self) -> FlockerVolumeSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FlockerVolumeSource
impl Debug for FlockerVolumeSource
Source§impl<'de> Deserialize<'de> for FlockerVolumeSource
impl<'de> Deserialize<'de> for FlockerVolumeSource
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>,
Source§impl FromStr for FlockerVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a FlockerVolumeSource value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for FlockerVolumeSource
Converts Query Parameters representation (style=form, explode=false) to a FlockerVolumeSource value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for FlockerVolumeSource
impl PartialEq for FlockerVolumeSource
Source§impl Serialize for FlockerVolumeSource
impl Serialize for FlockerVolumeSource
Source§impl ToString for FlockerVolumeSource
Converts the FlockerVolumeSource 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 FlockerVolumeSource
Converts the FlockerVolumeSource 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