pub struct EcrSnapshot {
pub schema_version: u32,
pub accounts: Option<MultiAccountState<EcrState>>,
}Expand description
Top-level persisted ECR snapshot. The shape mirrors the convention
used by other multi-account services (Kinesis, ElastiCache) so the
main.rs loader can use the same branching pattern.
Fields§
§schema_version: u32§accounts: Option<MultiAccountState<EcrState>>Trait Implementations§
Source§impl Clone for EcrSnapshot
impl Clone for EcrSnapshot
Source§fn clone(&self) -> EcrSnapshot
fn clone(&self) -> EcrSnapshot
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 EcrSnapshot
impl Debug for EcrSnapshot
Source§impl<'de> Deserialize<'de> for EcrSnapshot
impl<'de> Deserialize<'de> for EcrSnapshot
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 EcrSnapshot
impl RefUnwindSafe for EcrSnapshot
impl Send for EcrSnapshot
impl Sync for EcrSnapshot
impl Unpin for EcrSnapshot
impl UnsafeUnpin for EcrSnapshot
impl UnwindSafe for EcrSnapshot
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