pub struct DynamodbKvBinding {
pub endpoint_url: Option<BindingValueString>,
pub region: BindingValueString,
pub table_name: BindingValueString,
}Expand description
AWS DynamoDB KV binding configuration
JSON schema
{
"description": "AWS DynamoDB KV binding configuration",
"type": "object",
"required": [
"region",
"tableName"
],
"properties": {
"endpointUrl": {
"description": "Optional endpoint URL for local testing or custom endpoints",
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/BindingValue_String"
}
]
}
]
},
"region": {
"$ref": "#/components/schemas/BindingValue_String"
},
"tableName": {
"$ref": "#/components/schemas/BindingValue_String"
}
}
}Fields§
§endpoint_url: Option<BindingValueString>Optional endpoint URL for local testing or custom endpoints
region: BindingValueString§table_name: BindingValueStringImplementations§
Source§impl DynamodbKvBinding
impl DynamodbKvBinding
pub fn builder() -> DynamodbKvBinding
Trait Implementations§
Source§impl Clone for DynamodbKvBinding
impl Clone for DynamodbKvBinding
Source§impl Debug for DynamodbKvBinding
impl Debug for DynamodbKvBinding
Source§impl<'de> Deserialize<'de> for DynamodbKvBinding
impl<'de> Deserialize<'de> for DynamodbKvBinding
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<&DynamodbKvBinding> for DynamodbKvBinding
impl From<&DynamodbKvBinding> for DynamodbKvBinding
Source§fn from(value: &DynamodbKvBinding) -> Self
fn from(value: &DynamodbKvBinding) -> Self
Converts to this type from the input type.
Source§impl From<DynamodbKvBinding> for DynamodbKvBinding
impl From<DynamodbKvBinding> for DynamodbKvBinding
Source§fn from(value: DynamodbKvBinding) -> Self
fn from(value: DynamodbKvBinding) -> Self
Converts to this type from the input type.
Source§impl Serialize for DynamodbKvBinding
impl Serialize for DynamodbKvBinding
Source§impl TryFrom<DynamodbKvBinding> for DynamodbKvBinding
impl TryFrom<DynamodbKvBinding> for DynamodbKvBinding
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DynamodbKvBinding) -> Result<Self, ConversionError>
fn try_from(value: DynamodbKvBinding) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for DynamodbKvBinding
impl Freeze for DynamodbKvBinding
impl RefUnwindSafe for DynamodbKvBinding
impl Send for DynamodbKvBinding
impl Sync for DynamodbKvBinding
impl Unpin for DynamodbKvBinding
impl UnsafeUnpin for DynamodbKvBinding
impl UnwindSafe for DynamodbKvBinding
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