pub struct BroadcastedTx {
pub txid: Txid,
pub tx: Vec<u8>,
pub created_at: TimestampMs,
}Expand description
The user node or LSP broadcasted an on-chain transaction.
Fields§
§txid: Txid(PK)
tx: Vec<u8>Consensus-encoded bitcoin::Transaction.
created_at: TimestampMsWhen this tx was broadcasted.
Implementations§
Trait Implementations§
Source§impl Clone for BroadcastedTx
impl Clone for BroadcastedTx
Source§fn clone(&self) -> BroadcastedTx
fn clone(&self) -> BroadcastedTx
Returns a duplicate 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 BroadcastedTx
impl Debug for BroadcastedTx
Source§impl<'de> Deserialize<'de> for BroadcastedTx
impl<'de> Deserialize<'de> for BroadcastedTx
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 BroadcastedTx
impl PartialEq for BroadcastedTx
Source§impl Serialize for BroadcastedTx
impl Serialize for BroadcastedTx
impl StructuralPartialEq for BroadcastedTx
Auto Trait Implementations§
impl Freeze for BroadcastedTx
impl RefUnwindSafe for BroadcastedTx
impl Send for BroadcastedTx
impl Sync for BroadcastedTx
impl Unpin for BroadcastedTx
impl UnsafeUnpin for BroadcastedTx
impl UnwindSafe for BroadcastedTx
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