pub struct WalletSnapshot {
pub master_secret: String,
pub unspent_outputs: Vec<UnspentOutputSnapshot>,
pub spent_hashes: Vec<SpentHashSnapshot>,
pub depths: HashMap<String, i64>,
}Expand description
Complete wallet state snapshot for backup/restore.
Fields§
§master_secret: String§unspent_outputs: Vec<UnspentOutputSnapshot>§spent_hashes: Vec<SpentHashSnapshot>§depths: HashMap<String, i64>Trait Implementations§
Source§impl Debug for WalletSnapshot
impl Debug for WalletSnapshot
Source§impl<'de> Deserialize<'de> for WalletSnapshot
impl<'de> Deserialize<'de> for WalletSnapshot
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 WalletSnapshot
impl RefUnwindSafe for WalletSnapshot
impl Send for WalletSnapshot
impl Sync for WalletSnapshot
impl Unpin for WalletSnapshot
impl UnsafeUnpin for WalletSnapshot
impl UnwindSafe for WalletSnapshot
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