pub struct IoK8sApiCoreV1AzureFileVolumeSource {
pub read_only: Option<bool>,
pub secret_name: String,
pub share_name: String,
}
Expand description
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
Fields§
§read_only: Option<bool>
Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
secret_name: String
the name of secret that contains Azure Storage Account Name and Key
Share Name
Trait Implementations§
Source§impl Clone for IoK8sApiCoreV1AzureFileVolumeSource
impl Clone for IoK8sApiCoreV1AzureFileVolumeSource
Source§fn clone(&self) -> IoK8sApiCoreV1AzureFileVolumeSource
fn clone(&self) -> IoK8sApiCoreV1AzureFileVolumeSource
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<'de> Deserialize<'de> for IoK8sApiCoreV1AzureFileVolumeSource
impl<'de> Deserialize<'de> for IoK8sApiCoreV1AzureFileVolumeSource
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<&IoK8sApiCoreV1AzureFileVolumeSource> for IoK8sApiCoreV1AzureFileVolumeSource
impl From<&IoK8sApiCoreV1AzureFileVolumeSource> for IoK8sApiCoreV1AzureFileVolumeSource
Source§fn from(value: &IoK8sApiCoreV1AzureFileVolumeSource) -> Self
fn from(value: &IoK8sApiCoreV1AzureFileVolumeSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1AzureFileVolumeSource
impl RefUnwindSafe for IoK8sApiCoreV1AzureFileVolumeSource
impl Send for IoK8sApiCoreV1AzureFileVolumeSource
impl Sync for IoK8sApiCoreV1AzureFileVolumeSource
impl Unpin for IoK8sApiCoreV1AzureFileVolumeSource
impl UnwindSafe for IoK8sApiCoreV1AzureFileVolumeSource
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