pub struct DynamoDbState {
pub account_id: String,
pub region: String,
pub tables: HashMap<String, DynamoTable>,
pub backups: HashMap<String, BackupDescription>,
pub global_tables: HashMap<String, GlobalTableDescription>,
pub exports: HashMap<String, ExportDescription>,
pub imports: HashMap<String, ImportDescription>,
}Fields§
§account_id: String§region: String§tables: HashMap<String, DynamoTable>§backups: HashMap<String, BackupDescription>§global_tables: HashMap<String, GlobalTableDescription>§exports: HashMap<String, ExportDescription>§imports: HashMap<String, ImportDescription>Implementations§
Trait Implementations§
Source§impl AccountState for DynamoDbState
impl AccountState for DynamoDbState
Source§fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
fn new_for_account(account_id: &str, region: &str, _endpoint: &str) -> Self
Create a fresh, empty state for the given account.
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
Called after a new account state is created via
MultiAccountState::get_or_create,
with a reference to an existing sibling state. Services can override
this to propagate shared resources (e.g. body caches) to the new state.Source§impl Clone for DynamoDbState
impl Clone for DynamoDbState
Source§fn clone(&self) -> DynamoDbState
fn clone(&self) -> DynamoDbState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DynamoDbState
impl Debug for DynamoDbState
Source§impl<'de> Deserialize<'de> for DynamoDbState
impl<'de> Deserialize<'de> for DynamoDbState
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
Auto Trait Implementations§
impl Freeze for DynamoDbState
impl !RefUnwindSafe for DynamoDbState
impl Send for DynamoDbState
impl Sync for DynamoDbState
impl Unpin for DynamoDbState
impl UnsafeUnpin for DynamoDbState
impl !UnwindSafe for DynamoDbState
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