pub struct RejectPayload {
pub reason: Option<RejectReason>,
pub wtxid: Wtxid,
}Expand description
An attempt to broadcast a transaction failed.
Fields§
§reason: Option<RejectReason>An enumeration of the reason for the transaction failure. If none is provided, the message could not be sent over the wire.
wtxid: WtxidThe transaction that was rejected or failed to broadcast.
Trait Implementations§
Source§impl Clone for RejectPayload
impl Clone for RejectPayload
Source§fn clone(&self) -> RejectPayload
fn clone(&self) -> RejectPayload
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 RejectPayload
impl Debug for RejectPayload
impl Copy for RejectPayload
Auto Trait Implementations§
impl Freeze for RejectPayload
impl RefUnwindSafe for RejectPayload
impl Send for RejectPayload
impl Sync for RejectPayload
impl Unpin for RejectPayload
impl UnwindSafe for RejectPayload
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