pub struct CloudSqlPostgresBinding {
pub database: BindingValueString,
pub host: BindingValueString,
pub password_secret_name: BindingValueString,
pub port: BindingValueU16,
pub server_ca_certificates: BindingValueVecString,
pub username: BindingValueString,
}Expand description
GCP Cloud SQL binding.
JSON schema
{
"description": "GCP Cloud SQL binding.",
"type": "object",
"required": [
"database",
"host",
"passwordSecretName",
"port",
"serverCaCertificates",
"username"
],
"properties": {
"database": {
"$ref": "#/components/schemas/BindingValue_String"
},
"host": {
"$ref": "#/components/schemas/BindingValue_String"
},
"passwordSecretName": {
"$ref": "#/components/schemas/BindingValue_String"
},
"port": {
"$ref": "#/components/schemas/BindingValue_u16"
},
"serverCaCertificates": {
"$ref": "#/components/schemas/BindingValue_Vec_String"
},
"username": {
"$ref": "#/components/schemas/BindingValue_String"
}
}
}Fields§
§database: BindingValueString§host: BindingValueString§password_secret_name: BindingValueString§port: BindingValueU16§server_ca_certificates: BindingValueVecString§username: BindingValueStringImplementations§
Source§impl CloudSqlPostgresBinding
impl CloudSqlPostgresBinding
pub fn builder() -> CloudSqlPostgresBinding
Trait Implementations§
Source§impl Clone for CloudSqlPostgresBinding
impl Clone for CloudSqlPostgresBinding
Source§impl Debug for CloudSqlPostgresBinding
impl Debug for CloudSqlPostgresBinding
Source§impl<'de> Deserialize<'de> for CloudSqlPostgresBinding
impl<'de> Deserialize<'de> for CloudSqlPostgresBinding
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<&CloudSqlPostgresBinding> for CloudSqlPostgresBinding
impl From<&CloudSqlPostgresBinding> for CloudSqlPostgresBinding
Source§fn from(value: &CloudSqlPostgresBinding) -> Self
fn from(value: &CloudSqlPostgresBinding) -> Self
Converts to this type from the input type.
Source§impl From<CloudSqlPostgresBinding> for CloudSqlPostgresBinding
impl From<CloudSqlPostgresBinding> for CloudSqlPostgresBinding
Source§fn from(value: CloudSqlPostgresBinding) -> Self
fn from(value: CloudSqlPostgresBinding) -> Self
Converts to this type from the input type.
Source§impl Serialize for CloudSqlPostgresBinding
impl Serialize for CloudSqlPostgresBinding
Source§impl TryFrom<CloudSqlPostgresBinding> for CloudSqlPostgresBinding
impl TryFrom<CloudSqlPostgresBinding> for CloudSqlPostgresBinding
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CloudSqlPostgresBinding) -> Result<Self, ConversionError>
fn try_from(value: CloudSqlPostgresBinding) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CloudSqlPostgresBinding
impl RefUnwindSafe for CloudSqlPostgresBinding
impl Send for CloudSqlPostgresBinding
impl Sync for CloudSqlPostgresBinding
impl Unpin for CloudSqlPostgresBinding
impl UnsafeUnpin for CloudSqlPostgresBinding
impl UnwindSafe for CloudSqlPostgresBinding
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