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