pub struct SecretKeySelector {
pub name: String,
pub key: String,
pub optional: bool,
}Expand description
Mirrors a k8s SecretKeySelector — a key in a Secret. optional
is K8s’s “don’t fail pod-start if missing” flag, surfaced by
cargo_athena::secret_opt! (skip-serialized when false, so
existing S3Artifact users stay byte-identical).
Fields§
§name: String§key: String§optional: boolTrait Implementations§
Source§impl Clone for SecretKeySelector
impl Clone for SecretKeySelector
Source§fn clone(&self) -> SecretKeySelector
fn clone(&self) -> SecretKeySelector
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SecretKeySelector
impl Debug for SecretKeySelector
Source§impl Default for SecretKeySelector
impl Default for SecretKeySelector
Source§fn default() -> SecretKeySelector
fn default() -> SecretKeySelector
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretKeySelector
impl<'de> Deserialize<'de> for SecretKeySelector
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 PartialEq for SecretKeySelector
impl PartialEq for SecretKeySelector
Source§impl Serialize for SecretKeySelector
impl Serialize for SecretKeySelector
impl StructuralPartialEq for SecretKeySelector
Auto Trait Implementations§
impl Freeze for SecretKeySelector
impl RefUnwindSafe for SecretKeySelector
impl Send for SecretKeySelector
impl Sync for SecretKeySelector
impl Unpin for SecretKeySelector
impl UnsafeUnpin for SecretKeySelector
impl UnwindSafe for SecretKeySelector
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