pub struct WalletData<L2>where
L2: Layer2Data,{
pub name: String,
pub tx_annotations: BTreeMap<Txid, String>,
pub txout_annotations: BTreeMap<Outpoint, String>,
pub txin_annotations: BTreeMap<Outpoint, String>,
pub addr_annotations: BTreeMap<Address, String>,
pub layer2_annotations: L2,
pub last_used: BTreeMap<Keychain, NormalIndex>,
}
Fields§
§name: String
§tx_annotations: BTreeMap<Txid, String>
§txout_annotations: BTreeMap<Outpoint, String>
§txin_annotations: BTreeMap<Outpoint, String>
§addr_annotations: BTreeMap<Address, String>
§layer2_annotations: L2
§last_used: BTreeMap<Keychain, NormalIndex>
Trait Implementations§
Source§impl<L2> Clone for WalletData<L2>where
L2: Clone + Layer2Data,
impl<L2> Clone for WalletData<L2>where
L2: Clone + Layer2Data,
Source§fn clone(&self) -> WalletData<L2>
fn clone(&self) -> WalletData<L2>
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<L2> Debug for WalletData<L2>where
L2: Debug + Layer2Data,
impl<L2> Debug for WalletData<L2>where
L2: Debug + Layer2Data,
Source§impl<L2> Default for WalletData<L2>where
L2: Default + Layer2Data,
impl<L2> Default for WalletData<L2>where
L2: Default + Layer2Data,
Source§fn default() -> WalletData<L2>
fn default() -> WalletData<L2>
Returns the “default value” for a type. Read more
Source§impl<'de, L2> Deserialize<'de> for WalletData<L2>where
L2: Layer2Data + Deserialize<'de>,
impl<'de, L2> Deserialize<'de> for WalletData<L2>where
L2: Layer2Data + Deserialize<'de>,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<WalletData<L2>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<WalletData<L2>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<L2> PartialEq for WalletData<L2>where
L2: PartialEq + Layer2Data,
impl<L2> PartialEq for WalletData<L2>where
L2: PartialEq + Layer2Data,
Source§impl<L2> Serialize for WalletData<L2>where
L2: Layer2Data + Serialize,
impl<L2> Serialize for WalletData<L2>where
L2: Layer2Data + Serialize,
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<L2> Eq for WalletData<L2>where
L2: Eq + Layer2Data,
impl<L2> StructuralPartialEq for WalletData<L2>where
L2: Layer2Data,
Auto Trait Implementations§
impl<L2> Freeze for WalletData<L2>where
L2: Freeze,
impl<L2> RefUnwindSafe for WalletData<L2>where
L2: RefUnwindSafe,
impl<L2> Send for WalletData<L2>where
L2: Send,
impl<L2> Sync for WalletData<L2>where
L2: Sync,
impl<L2> Unpin for WalletData<L2>where
L2: Unpin,
impl<L2> UnwindSafe for WalletData<L2>where
L2: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.