Trait korat::AttributeValueConverter
[−]
[src]
pub trait AttributeValueConverter: Sized { fn from_attribute_value(
attribute_value: AttributeValue
) -> Result<Self, ConversionError>; fn to_attribute_value(self) -> AttributeValue; }
Required Methods
fn from_attribute_value(
attribute_value: AttributeValue
) -> Result<Self, ConversionError>
attribute_value: AttributeValue
) -> Result<Self, ConversionError>
fn to_attribute_value(self) -> AttributeValue
Implementors
impl AttributeValueConverter for String
impl AttributeValueConverter for HashSet<String>
impl AttributeValueConverter for HashSet<Vec<u8>>
impl AttributeValueConverter for Vec<u8>
impl AttributeValueConverter for bool
impl<T: DynamoDBItem> AttributeValueConverter for T
impl<T: DynamoDBItem> AttributeValueConverter for Vec<T>
impl<T: AttributeValueConverter> AttributeValueConverter for Option<T>
impl AttributeValueConverter for i32
impl AttributeValueConverter for i64
impl AttributeValueConverter for f32
impl AttributeValueConverter for f64
impl AttributeValueConverter for HashSet<i32>
impl AttributeValueConverter for Vec<i32>
impl AttributeValueConverter for HashSet<i64>
impl AttributeValueConverter for Vec<i64>
impl AttributeValueConverter for Vec<f32>
impl AttributeValueConverter for Vec<f64>