pub struct RamState {
pub resource_shares: BTreeMap<String, ResourceShareRecord>,
pub permissions: BTreeMap<String, PermissionRecord>,
pub invitations: BTreeMap<String, InvitationRecord>,
pub replace_works: BTreeMap<String, Value>,
pub tags: BTreeMap<String, TagMap>,
}Expand description
The account-scoped RAM state for one AWS account.
Fields§
§permissions: BTreeMap<String, PermissionRecord>§invitations: BTreeMap<String, InvitationRecord>§replace_works: BTreeMap<String, Value>Replace-permission-associations work items, keyed by work id, stored as
the JSON object echoed back by ListReplacePermissionAssociationsWork.
Tags keyed by resource ARN (resource-share or permission ARN).
Trait Implementations§
Source§impl AccountState for RamState
impl AccountState for RamState
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<'de> Deserialize<'de> for RamState
impl<'de> Deserialize<'de> for RamState
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 RamState
impl RefUnwindSafe for RamState
impl Send for RamState
impl Sync for RamState
impl Unpin for RamState
impl UnsafeUnpin for RamState
impl UnwindSafe for RamState
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