pub struct MemoryDbState {
pub clusters: BTreeMap<String, Cluster>,
pub acls: BTreeMap<String, Acl>,
pub users: BTreeMap<String, User>,
pub parameter_groups: BTreeMap<String, ParameterGroup>,
pub subnet_groups: BTreeMap<String, SubnetGroup>,
pub snapshots: BTreeMap<String, Snapshot>,
pub multi_region_clusters: BTreeMap<String, MultiRegionCluster>,
pub reserved_nodes: BTreeMap<String, ReservedNode>,
pub tags: BTreeMap<String, TagMap>,
}Fields§
§clusters: BTreeMap<String, Cluster>§acls: BTreeMap<String, Acl>§users: BTreeMap<String, User>§parameter_groups: BTreeMap<String, ParameterGroup>§subnet_groups: BTreeMap<String, SubnetGroup>§snapshots: BTreeMap<String, Snapshot>§multi_region_clusters: BTreeMap<String, MultiRegionCluster>§reserved_nodes: BTreeMap<String, ReservedNode>Tags keyed by resource ARN.
Trait Implementations§
Source§impl AccountState for MemoryDbState
impl AccountState for MemoryDbState
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 MemoryDbState
impl Clone for MemoryDbState
Source§fn clone(&self) -> MemoryDbState
fn clone(&self) -> MemoryDbState
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 MemoryDbState
impl Debug for MemoryDbState
Source§impl Default for MemoryDbState
impl Default for MemoryDbState
Source§fn default() -> MemoryDbState
fn default() -> MemoryDbState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemoryDbState
impl<'de> Deserialize<'de> for MemoryDbState
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 MemoryDbState
impl RefUnwindSafe for MemoryDbState
impl Send for MemoryDbState
impl Sync for MemoryDbState
impl Unpin for MemoryDbState
impl UnsafeUnpin for MemoryDbState
impl UnwindSafe for MemoryDbState
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