Struct k8s_openapi_ext::corev1::VolumeProjection
source · 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>
configMap information about the configMap data to project
downward_api: Option<DownwardAPIProjection>
downwardAPI information about the downwardAPI data to project
secret: Option<SecretProjection>
secret information about the secret data to project
service_account_token: Option<ServiceAccountTokenProjection>
serviceAccountToken is information about the serviceAccountToken data to project
Trait Implementations§
source§impl Clone for VolumeProjection
impl Clone for VolumeProjection
source§fn clone(&self) -> VolumeProjection
fn clone(&self) -> VolumeProjection
Returns a copy 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 DeepMerge for VolumeProjection
impl DeepMerge for VolumeProjection
source§fn merge_from(&mut self, other: VolumeProjection)
fn merge_from(&mut self, other: VolumeProjection)
Merge
other
into self
.source§impl Default for VolumeProjection
impl Default for VolumeProjection
source§fn default() -> VolumeProjection
fn default() -> VolumeProjection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VolumeProjection
impl<'de> Deserialize<'de> for VolumeProjection
source§fn deserialize<D>(
deserializer: D
) -> Result<VolumeProjection, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>( deserializer: D ) -> Result<VolumeProjection, <D as Deserializer<'de>>::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<VolumeProjection> for VolumeProjection
impl PartialEq<VolumeProjection> for VolumeProjection
source§fn eq(&self, other: &VolumeProjection) -> bool
fn eq(&self, other: &VolumeProjection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VolumeProjection
impl Serialize for VolumeProjection
source§fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>( &self, serializer: S ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where S: Serializer,
Serialize this value into the given Serde serializer. Read more