pub struct VolumeMount {
pub bind_options: Option<VolumeMountBindOptions>,
pub cluster_options: Option<HashMap<String, String>>,
pub consistency: Option<String>,
pub image_options: Option<VolumeMountImageOptions>,
pub read_only: Option<bool>,
pub source: Option<String>,
pub target: Option<String>,
pub tmp_fs_options: Option<VolumeMountTmpFsOptions>,
pub type: Option<String>,
pub volume_options: Option<VolumeMountVolumeOptions>,
}
Fields§
§bind_options: Option<VolumeMountBindOptions>
§cluster_options: Option<HashMap<String, String>>
§consistency: Option<String>
§image_options: Option<VolumeMountImageOptions>
§read_only: Option<bool>
§source: Option<String>
§target: Option<String>
§tmp_fs_options: Option<VolumeMountTmpFsOptions>
§type: Option<String>
§volume_options: Option<VolumeMountVolumeOptions>
Trait Implementations§
Source§impl Default for VolumeMount
impl Default for VolumeMount
Source§fn default() -> VolumeMount
fn default() -> VolumeMount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VolumeMount
impl<'de> Deserialize<'de> for VolumeMount
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
Auto Trait Implementations§
impl Freeze for VolumeMount
impl RefUnwindSafe for VolumeMount
impl Send for VolumeMount
impl Sync for VolumeMount
impl Unpin for VolumeMount
impl UnwindSafe for VolumeMount
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