pub struct IoK8sApiCoreV1FcVolumeSource {
pub fs_type: Option<String>,
pub lun: Option<i64>,
pub read_only: Option<bool>,
pub target_ww_ns: Vec<String>,
pub wwids: Vec<String>,
}
Expand description
Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.
Fields§
§fs_type: Option<String>
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. Implicitly inferred to be “ext4” if unspecified.
lun: Option<i64>
Optional: FC target lun number
read_only: Option<bool>
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
target_ww_ns: Vec<String>
Optional: FC target worldwide names (WWNs)
wwids: Vec<String>
Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.
Trait Implementations§
Source§impl Clone for IoK8sApiCoreV1FcVolumeSource
impl Clone for IoK8sApiCoreV1FcVolumeSource
Source§fn clone(&self) -> IoK8sApiCoreV1FcVolumeSource
fn clone(&self) -> IoK8sApiCoreV1FcVolumeSource
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 IoK8sApiCoreV1FcVolumeSource
impl Debug for IoK8sApiCoreV1FcVolumeSource
Source§impl<'de> Deserialize<'de> for IoK8sApiCoreV1FcVolumeSource
impl<'de> Deserialize<'de> for IoK8sApiCoreV1FcVolumeSource
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<&IoK8sApiCoreV1FcVolumeSource> for IoK8sApiCoreV1FcVolumeSource
impl From<&IoK8sApiCoreV1FcVolumeSource> for IoK8sApiCoreV1FcVolumeSource
Source§fn from(value: &IoK8sApiCoreV1FcVolumeSource) -> Self
fn from(value: &IoK8sApiCoreV1FcVolumeSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1FcVolumeSource
impl RefUnwindSafe for IoK8sApiCoreV1FcVolumeSource
impl Send for IoK8sApiCoreV1FcVolumeSource
impl Sync for IoK8sApiCoreV1FcVolumeSource
impl Unpin for IoK8sApiCoreV1FcVolumeSource
impl UnwindSafe for IoK8sApiCoreV1FcVolumeSource
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