pub struct VolumeProjection {
pub config_map: Option<ConfigMapProjection>,
pub downward_api: Option<DownwardApiProjection>,
pub secret: Option<SecretProjection>,
pub service_account_token: Option<ServiceAccountTokenProjection>,
}Expand description
Projection that may be projected along with other supported volume types
Fields§
§config_map: Option<ConfigMapProjection>§downward_api: Option<DownwardApiProjection>§secret: Option<SecretProjection>§service_account_token: Option<ServiceAccountTokenProjection>Implementations§
Source§impl VolumeProjection
impl VolumeProjection
pub fn new() -> VolumeProjection
Trait Implementations§
Source§impl Clone for VolumeProjection
impl Clone for VolumeProjection
Source§fn clone(&self) -> VolumeProjection
fn clone(&self) -> VolumeProjection
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 VolumeProjection
impl Debug for VolumeProjection
Source§impl<'de> Deserialize<'de> for VolumeProjection
impl<'de> Deserialize<'de> for VolumeProjection
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 FromStr for VolumeProjection
Converts Query Parameters representation (style=form, explode=false) to a VolumeProjection value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for VolumeProjection
Converts Query Parameters representation (style=form, explode=false) to a VolumeProjection value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for VolumeProjection
impl PartialEq for VolumeProjection
Source§impl Serialize for VolumeProjection
impl Serialize for VolumeProjection
Source§impl ToString for VolumeProjection
Converts the VolumeProjection value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for VolumeProjection
Converts the VolumeProjection value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for VolumeProjection
impl Validate for VolumeProjection
Source§impl<'v_a> ValidateArgs<'v_a> for VolumeProjection
impl<'v_a> ValidateArgs<'v_a> for VolumeProjection
impl StructuralPartialEq for VolumeProjection
Auto Trait Implementations§
impl Freeze for VolumeProjection
impl RefUnwindSafe for VolumeProjection
impl Send for VolumeProjection
impl Sync for VolumeProjection
impl Unpin for VolumeProjection
impl UnwindSafe for VolumeProjection
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