pub struct SecretReference {
pub key: String,
pub name: String,
}Expand description
Reference to a Kubernetes Secret
JSON schema
{
"description": "Reference to a Kubernetes Secret",
"type": "object",
"required": [
"key",
"name"
],
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
}
}Fields§
§key: String§name: StringImplementations§
Source§impl SecretReference
impl SecretReference
pub fn builder() -> SecretReference
Trait Implementations§
Source§impl Clone for SecretReference
impl Clone for SecretReference
Source§impl Debug for SecretReference
impl Debug for SecretReference
Source§impl<'de> Deserialize<'de> for SecretReference
impl<'de> Deserialize<'de> for SecretReference
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 From<&SecretReference> for SecretReference
impl From<&SecretReference> for SecretReference
Source§fn from(value: &SecretReference) -> Self
fn from(value: &SecretReference) -> Self
Converts to this type from the input type.
Source§impl From<SecretReference> for SecretReference
impl From<SecretReference> for SecretReference
Source§fn from(value: SecretReference) -> Self
fn from(value: SecretReference) -> Self
Converts to this type from the input type.
Source§impl Serialize for SecretReference
impl Serialize for SecretReference
Source§impl TryFrom<SecretReference> for SecretReference
impl TryFrom<SecretReference> for SecretReference
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SecretReference) -> Result<Self, ConversionError>
fn try_from(value: SecretReference) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for SecretReference
impl Freeze for SecretReference
impl Move for SecretReference
impl RefUnwindSafe for SecretReference
impl Send for SecretReference
impl Sync for SecretReference
impl Unpin for SecretReference
impl UnsafeUnpin for SecretReference
impl UnwindSafe for SecretReference
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