pub struct App { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Table for App
impl Table for App
Source§type PrimaryKey = Primary
type PrimaryKey = Primary
The primary key to be used for the table
Source§fn table_name(&self) -> &str
fn table_name(&self) -> &str
Returns the name of the DynamoDB table
Source§const ENTITY_TYPE_ATTRIBUTE: &'static str = "entity_type"
const ENTITY_TYPE_ATTRIBUTE: &'static str = "entity_type"
The attribute name used for storing the entity type
Source§fn deserialize_entity_type(
attr: &AttributeValue,
) -> Result<&EntityTypeNameRef, MalformedEntityTypeError>
fn deserialize_entity_type( attr: &AttributeValue, ) -> Result<&EntityTypeNameRef, MalformedEntityTypeError>
Deserializes the entity type from an attribute value Read more
Source§fn serialize_entity_type(entity_type: &EntityTypeNameRef) -> AttributeValue
fn serialize_entity_type(entity_type: &EntityTypeNameRef) -> AttributeValue
Serializes the entity type as an attribute value Read more
Auto Trait Implementations§
impl Freeze for App
impl !RefUnwindSafe for App
impl Send for App
impl Sync for App
impl Unpin for App
impl !UnwindSafe for App
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.
Source§impl<T> TestTableExt for Twhere
T: Table,
impl<T> TestTableExt for Twhere
T: Table,
Source§fn create_table(&self) -> CreateTableFluentBuilder
fn create_table(&self) -> CreateTableFluentBuilder
Prepare a create table operation Read more
Source§fn delete_table(&self) -> DeleteTableFluentBuilder
fn delete_table(&self) -> DeleteTableFluentBuilder
Prepare a delete table operation