pub struct KmsSnapshot {
pub schema_version: u32,
pub accounts: Option<MultiAccountState<KmsState>>,
pub state: Option<KmsState>,
}Expand description
On-disk snapshot envelope for KMS state. Versioned so format changes fail loudly on upgrade.
Fields§
§schema_version: u32§accounts: Option<MultiAccountState<KmsState>>§state: Option<KmsState>Trait Implementations§
Source§impl Clone for KmsSnapshot
impl Clone for KmsSnapshot
Source§fn clone(&self) -> KmsSnapshot
fn clone(&self) -> KmsSnapshot
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<'de> Deserialize<'de> for KmsSnapshot
impl<'de> Deserialize<'de> for KmsSnapshot
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 KmsSnapshot
impl RefUnwindSafe for KmsSnapshot
impl Send for KmsSnapshot
impl Sync for KmsSnapshot
impl Unpin for KmsSnapshot
impl UnsafeUnpin for KmsSnapshot
impl UnwindSafe for KmsSnapshot
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