Struct statehub_api::v0::StorageClass [−][src]
pub struct StorageClass {
pub name: String,
pub volume_binding_mode: VolumeBindingMode,
pub fs_type: String,
pub mount_options: Option<String>,
}
Fields
name: String
volume_binding_mode: VolumeBindingMode
fs_type: String
mount_options: Option<String>
Implementations
pub fn new_if_not_default(
state: &str,
storage_class: Option<String>,
fs_type: Option<VolumeFileSystem>
) -> Option<Self>
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StorageClass
impl Send for StorageClass
impl Sync for StorageClass
impl Unpin for StorageClass
impl UnwindSafe for StorageClass
Blanket Implementations
Mutably borrows from an owned value. Read more