pub struct BackupState {Show 17 fields
pub plans: BTreeMap<String, PlanRecord>,
pub vaults: BTreeMap<String, VaultRecord>,
pub frameworks: BTreeMap<String, Value>,
pub report_plans: BTreeMap<String, Value>,
pub report_jobs: BTreeMap<String, Value>,
pub legal_holds: BTreeMap<String, Value>,
pub restore_testing_plans: BTreeMap<String, RestoreTestingPlanRecord>,
pub tiering_configs: BTreeMap<String, Value>,
pub backup_jobs: BTreeMap<String, Value>,
pub copy_jobs: BTreeMap<String, Value>,
pub restore_jobs: BTreeMap<String, Value>,
pub scan_jobs: BTreeMap<String, Value>,
pub resource_recovery_points: BTreeMap<String, Vec<String>>,
pub global_settings: BTreeMap<String, String>,
pub region_optin: BTreeMap<String, bool>,
pub region_mgmt: BTreeMap<String, bool>,
pub tags: BTreeMap<String, TagMap>,
}Expand description
The account-scoped Backup state for one AWS account.
Fields§
§plans: BTreeMap<String, PlanRecord>§vaults: BTreeMap<String, VaultRecord>§frameworks: BTreeMap<String, Value>§report_plans: BTreeMap<String, Value>§report_jobs: BTreeMap<String, Value>§legal_holds: BTreeMap<String, Value>§restore_testing_plans: BTreeMap<String, RestoreTestingPlanRecord>§tiering_configs: BTreeMap<String, Value>§backup_jobs: BTreeMap<String, Value>§copy_jobs: BTreeMap<String, Value>§restore_jobs: BTreeMap<String, Value>§scan_jobs: BTreeMap<String, Value>§resource_recovery_points: BTreeMap<String, Vec<String>>A flat map of every recovery point across vaults for resource-scoped
lookups (ListRecoveryPointsByResource, DescribeProtectedResource):
resourceArn -> list of recoveryPointArn (in creation order).
global_settings: BTreeMap<String, String>§region_optin: BTreeMap<String, bool>Per-resource-type opt-in preference (defaults applied on read).
region_mgmt: BTreeMap<String, bool>Tags keyed by resource ARN.
Trait Implementations§
Source§impl AccountState for BackupState
impl AccountState for BackupState
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 BackupState
impl Clone for BackupState
Source§fn clone(&self) -> BackupState
fn clone(&self) -> BackupState
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 BackupState
impl Debug for BackupState
Source§impl Default for BackupState
impl Default for BackupState
Source§fn default() -> BackupState
fn default() -> BackupState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BackupState
impl<'de> Deserialize<'de> for BackupState
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 BackupState
impl RefUnwindSafe for BackupState
impl Send for BackupState
impl Sync for BackupState
impl Unpin for BackupState
impl UnsafeUnpin for BackupState
impl UnwindSafe for BackupState
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