pub struct AmplifyData {
pub apps: BTreeMap<String, AppRecord>,
pub webhooks: BTreeMap<String, Value>,
}Expand description
Per-account AWS Amplify state.
Fields§
§apps: BTreeMap<String, AppRecord>Apps keyed by appId.
webhooks: BTreeMap<String, Value>Webhooks keyed by webhookId; each value is a Webhook wire object
(carrying its owning appId).
Implementations§
Trait Implementations§
Source§impl AccountState for AmplifyData
impl AccountState for AmplifyData
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 AmplifyData
impl Clone for AmplifyData
Source§fn clone(&self) -> AmplifyData
fn clone(&self) -> AmplifyData
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 AmplifyData
impl Debug for AmplifyData
Source§impl Default for AmplifyData
impl Default for AmplifyData
Source§fn default() -> AmplifyData
fn default() -> AmplifyData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AmplifyData
impl<'de> Deserialize<'de> for AmplifyData
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 AmplifyData
impl RefUnwindSafe for AmplifyData
impl Send for AmplifyData
impl Sync for AmplifyData
impl Unpin for AmplifyData
impl UnsafeUnpin for AmplifyData
impl UnwindSafe for AmplifyData
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