pub struct ExternalRedisBinding {
pub host: BindingValue<String>,
pub port: BindingValue<u16>,
pub username: BindingValue<String>,
pub password: BindingValue<String>,
pub tls: bool,
}Expand description
Operator-provided server binding.
Fields§
§host: BindingValue<String>§port: BindingValue<u16>§username: BindingValue<String>§password: BindingValue<String>Password literal or a secretKeyRef to a Kubernetes Secret. Kubernetes workloads get the
password from the Secret as an environment variable, which the SDK inserts after it
parses the binding, so any character is safe.
tls: boolConnect over TLS. Defaults to true.
Trait Implementations§
Source§impl Clone for ExternalRedisBinding
impl Clone for ExternalRedisBinding
Source§impl Debug for ExternalRedisBinding
impl Debug for ExternalRedisBinding
Source§impl<'de> Deserialize<'de> for ExternalRedisBinding
impl<'de> Deserialize<'de> for ExternalRedisBinding
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
impl Eq for ExternalRedisBinding
Source§impl PartialEq for ExternalRedisBinding
impl PartialEq for ExternalRedisBinding
Source§impl Serialize for ExternalRedisBinding
impl Serialize for ExternalRedisBinding
impl StructuralPartialEq for ExternalRedisBinding
Auto Trait Implementations§
impl Forget for ExternalRedisBinding
impl Freeze for ExternalRedisBinding
impl RefUnwindSafe for ExternalRedisBinding
impl Send for ExternalRedisBinding
impl Sync for ExternalRedisBinding
impl Unpin for ExternalRedisBinding
impl UnsafeUnpin for ExternalRedisBinding
impl UnwindSafe for ExternalRedisBinding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.