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
sourceimpl Clone for VolumeProjection
impl Clone for VolumeProjection
sourcefn clone(&self) -> VolumeProjection
fn clone(&self) -> VolumeProjection
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VolumeProjection
impl Debug for VolumeProjection
sourceimpl DeepMerge for VolumeProjection
impl DeepMerge for VolumeProjection
sourcefn merge_from(&mut self, other: VolumeProjection)
fn merge_from(&mut self, other: VolumeProjection)
Merge
other
into self
.sourceimpl Default for VolumeProjection
impl Default for VolumeProjection
sourcefn default() -> VolumeProjection
fn default() -> VolumeProjection
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for VolumeProjection
impl<'de> Deserialize<'de> for VolumeProjection
sourcefn 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
sourceimpl PartialEq<VolumeProjection> for VolumeProjection
impl PartialEq<VolumeProjection> for VolumeProjection
sourcefn eq(&self, other: &VolumeProjection) -> bool
fn eq(&self, other: &VolumeProjection) -> bool
sourceimpl Serialize for VolumeProjection
impl Serialize for VolumeProjection
sourcefn 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
impl StructuralPartialEq for VolumeProjection
Auto Trait Implementations
impl RefUnwindSafe for VolumeProjection
impl Send for VolumeProjection
impl Sync for VolumeProjection
impl Unpin for VolumeProjection
impl UnwindSafe for VolumeProjection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more