pub struct DynamoType(/* private fields */);
Implementations§
Source§impl DynamoType
impl DynamoType
pub fn from_attr(attr: AttributeValue) -> Self
pub fn into_attr(self) -> AttributeValue
Trait Implementations§
Source§impl Clone for DynamoType
impl Clone for DynamoType
Source§fn clone(&self) -> DynamoType
fn clone(&self) -> DynamoType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Attribute> SQLValue<T> for DynamoType
impl<T: Attribute> SQLValue<T> for DynamoType
fn column_type(_: PhantomData<T>, size: i32) -> String
fn serialize(item: T) -> Self
fn deserialize(self) -> T
Auto Trait Implementations§
impl !Freeze for DynamoType
impl RefUnwindSafe for DynamoType
impl Send for DynamoType
impl Sync for DynamoType
impl Unpin for DynamoType
impl UnwindSafe for DynamoType
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