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