pub struct ExternalPostgresBinding {
pub host: BindingValue<String>,
pub port: BindingValue<u16>,
pub database: BindingValue<String>,
pub username: BindingValue<String>,
pub password: String,
}Expand description
Operator-provided / BYO database binding.
Fields§
§host: BindingValue<String>§port: BindingValue<u16>§database: BindingValue<String>§username: BindingValue<String>§password: StringConnection password as a concrete value, never an unresolved SecretRef: the platform
materializes the Kubernetes secret into the pod env. The cloud variants carry a secret
locator instead.
Trait Implementations§
Source§impl Clone for ExternalPostgresBinding
impl Clone for ExternalPostgresBinding
Source§fn clone(&self) -> ExternalPostgresBinding
fn clone(&self) -> ExternalPostgresBinding
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 ExternalPostgresBinding
impl Debug for ExternalPostgresBinding
Source§impl<'de> Deserialize<'de> for ExternalPostgresBinding
impl<'de> Deserialize<'de> for ExternalPostgresBinding
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 ExternalPostgresBinding
Source§impl PartialEq for ExternalPostgresBinding
impl PartialEq for ExternalPostgresBinding
Source§fn eq(&self, other: &ExternalPostgresBinding) -> bool
fn eq(&self, other: &ExternalPostgresBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExternalPostgresBinding
impl Serialize for ExternalPostgresBinding
impl StructuralPartialEq for ExternalPostgresBinding
Auto Trait Implementations§
impl Freeze for ExternalPostgresBinding
impl RefUnwindSafe for ExternalPostgresBinding
impl Send for ExternalPostgresBinding
impl Sync for ExternalPostgresBinding
impl Unpin for ExternalPostgresBinding
impl UnsafeUnpin for ExternalPostgresBinding
impl UnwindSafe for ExternalPostgresBinding
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.