pub struct VolumeSpec {
pub name: String,
pub secret: Option<SecretVolumeSpec>,
pub persistent_volume_claim: Option<PersistentVolumeClaimVolumeSource>,
}Fields§
§name: String§secret: Option<SecretVolumeSpec>§persistent_volume_claim: Option<PersistentVolumeClaimVolumeSource>Trait Implementations§
Source§impl Clone for VolumeSpec
impl Clone for VolumeSpec
Source§fn clone(&self) -> VolumeSpec
fn clone(&self) -> VolumeSpec
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 VolumeSpec
impl Debug for VolumeSpec
Source§impl Default for VolumeSpec
impl Default for VolumeSpec
Source§fn default() -> VolumeSpec
fn default() -> VolumeSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VolumeSpec
impl<'de> Deserialize<'de> for VolumeSpec
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 VolumeSpec
impl RefUnwindSafe for VolumeSpec
impl Send for VolumeSpec
impl Sync for VolumeSpec
impl Unpin for VolumeSpec
impl UnwindSafe for VolumeSpec
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