pub struct PVCSpec {
pub access_modes: Vec<String>,
pub resources: Option<PVCResources>,
pub storage_class_name: Option<String>,
pub volume_mode: Option<String>,
pub volume_name: Option<String>,
pub selector: Option<Value>,
pub data_source: Option<Value>,
}Fields§
§access_modes: Vec<String>§resources: Option<PVCResources>§storage_class_name: Option<String>§volume_mode: Option<String>§volume_name: Option<String>§selector: Option<Value>§data_source: Option<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PVCSpec
impl<'de> Deserialize<'de> for PVCSpec
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 PVCSpec
impl RefUnwindSafe for PVCSpec
impl Send for PVCSpec
impl Sync for PVCSpec
impl Unpin for PVCSpec
impl UnsafeUnpin for PVCSpec
impl UnwindSafe for PVCSpec
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