pub struct WalletUpdateV0 {
pub op: Vec<u8>,
pub metadata: Vec<u8>,
}
Expand description
Adds a wallet operation so all the devices can sync their locally saved wallet on disk (at the next wallet opening)
DEPS are the last HEAD of wallet updates.
Fields§
§op: Vec<u8>
§metadata: Vec<u8>
Metadata
Trait Implementations§
Source§impl Clone for WalletUpdateV0
impl Clone for WalletUpdateV0
Source§fn clone(&self) -> WalletUpdateV0
fn clone(&self) -> WalletUpdateV0
Returns a copy of the value. Read more
1.0.0 · 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 WalletUpdateV0
impl Debug for WalletUpdateV0
Source§impl<'de> Deserialize<'de> for WalletUpdateV0
impl<'de> Deserialize<'de> for WalletUpdateV0
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
Source§impl PartialEq for WalletUpdateV0
impl PartialEq for WalletUpdateV0
Source§impl Serialize for WalletUpdateV0
impl Serialize for WalletUpdateV0
impl Eq for WalletUpdateV0
impl StructuralPartialEq for WalletUpdateV0
Auto Trait Implementations§
impl Freeze for WalletUpdateV0
impl RefUnwindSafe for WalletUpdateV0
impl Send for WalletUpdateV0
impl Sync for WalletUpdateV0
impl Unpin for WalletUpdateV0
impl UnwindSafe for WalletUpdateV0
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