pub struct CoinRow<L2>where
L2: Layer2Coin,{
pub height: TxStatus<NonZeroU32>,
pub address: DerivedAddr,
pub outpoint: Outpoint,
pub amount: Sats,
pub layer2: Vec<L2>,
}Fields§
§height: TxStatus<NonZeroU32>§address: DerivedAddr§outpoint: Outpoint§amount: Sats§layer2: Vec<L2>Trait Implementations§
source§impl<'de, L2> Deserialize<'de> for CoinRow<L2>where
L2: Layer2Coin + for<'d> Deserialize<'d>,
impl<'de, L2> Deserialize<'de> for CoinRow<L2>where
L2: Layer2Coin + for<'d> Deserialize<'d>,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CoinRow<L2>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CoinRow<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 CoinRow<L2>where
L2: PartialEq + Layer2Coin,
impl<L2> PartialEq for CoinRow<L2>where
L2: PartialEq + Layer2Coin,
source§impl<L2> Serialize for CoinRow<L2>where
L2: Layer2Coin + Serialize,
impl<L2> Serialize for CoinRow<L2>where
L2: Layer2Coin + 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 CoinRow<L2>where
L2: Eq + Layer2Coin,
impl<L2> StructuralEq for CoinRow<L2>where
L2: Layer2Coin,
impl<L2> StructuralPartialEq for CoinRow<L2>where
L2: Layer2Coin,
Auto Trait Implementations§
impl<L2> RefUnwindSafe for CoinRow<L2>where
L2: RefUnwindSafe,
impl<L2> Send for CoinRow<L2>where
L2: Send,
impl<L2> Sync for CoinRow<L2>where
L2: Sync,
impl<L2> Unpin for CoinRow<L2>where
L2: Unpin,
impl<L2> UnwindSafe for CoinRow<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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.