pub struct KubernetesTlsSecretRef {
pub namespace: Option<String>,
pub secret_name: String,
}Expand description
Namespace-scoped Kubernetes TLS Secret reference.
JSON schema
{
"description": "Namespace-scoped Kubernetes TLS Secret reference.",
"type": "object",
"required": [
"secretName"
],
"properties": {
"namespace": {
"description": "Secret namespace. Defaults to the release namespace when omitted.",
"type": [
"string",
"null"
]
},
"secretName": {
"description": "Secret name.",
"type": "string"
}
}
}Fields§
§namespace: Option<String>Secret namespace. Defaults to the release namespace when omitted.
secret_name: StringSecret name.
Implementations§
Source§impl KubernetesTlsSecretRef
impl KubernetesTlsSecretRef
pub fn builder() -> KubernetesTlsSecretRef
Trait Implementations§
Source§impl Clone for KubernetesTlsSecretRef
impl Clone for KubernetesTlsSecretRef
Source§fn clone(&self) -> KubernetesTlsSecretRef
fn clone(&self) -> KubernetesTlsSecretRef
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 KubernetesTlsSecretRef
impl Debug for KubernetesTlsSecretRef
Source§impl<'de> Deserialize<'de> for KubernetesTlsSecretRef
impl<'de> Deserialize<'de> for KubernetesTlsSecretRef
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<&KubernetesTlsSecretRef> for KubernetesTlsSecretRef
impl From<&KubernetesTlsSecretRef> for KubernetesTlsSecretRef
Source§fn from(value: &KubernetesTlsSecretRef) -> Self
fn from(value: &KubernetesTlsSecretRef) -> Self
Converts to this type from the input type.
Source§impl From<KubernetesTlsSecretRef> for KubernetesTlsSecretRef
impl From<KubernetesTlsSecretRef> for KubernetesTlsSecretRef
Source§fn from(value: KubernetesTlsSecretRef) -> Self
fn from(value: KubernetesTlsSecretRef) -> Self
Converts to this type from the input type.
Source§impl Serialize for KubernetesTlsSecretRef
impl Serialize for KubernetesTlsSecretRef
Source§impl TryFrom<KubernetesTlsSecretRef> for KubernetesTlsSecretRef
impl TryFrom<KubernetesTlsSecretRef> for KubernetesTlsSecretRef
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: KubernetesTlsSecretRef) -> Result<Self, ConversionError>
fn try_from(value: KubernetesTlsSecretRef) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KubernetesTlsSecretRef
impl RefUnwindSafe for KubernetesTlsSecretRef
impl Send for KubernetesTlsSecretRef
impl Sync for KubernetesTlsSecretRef
impl Unpin for KubernetesTlsSecretRef
impl UnsafeUnpin for KubernetesTlsSecretRef
impl UnwindSafe for KubernetesTlsSecretRef
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