pub struct SubmitPackageResponse {
pub package_msg: String,
pub replaced_transactions: Option<Value>,
pub tx_results: Value,
}Expand description
Response for the SubmitPackage RPC method
Fields§
§package_msg: StringThe transaction package result message. “success” indicates all transactions were accepted into or are already in the mempool.
replaced_transactions: Option<Value>List of txids of replaced transactions
tx_results: ValueThe transaction results keyed by wtxid. An entry is returned for every submitted wtxid.
Trait Implementations§
Source§impl Clone for SubmitPackageResponse
impl Clone for SubmitPackageResponse
Source§fn clone(&self) -> SubmitPackageResponse
fn clone(&self) -> SubmitPackageResponse
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 SubmitPackageResponse
impl Debug for SubmitPackageResponse
Source§impl<'de> Deserialize<'de> for SubmitPackageResponse
impl<'de> Deserialize<'de> for SubmitPackageResponse
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 SubmitPackageResponse
impl PartialEq for SubmitPackageResponse
Source§impl Serialize for SubmitPackageResponse
impl Serialize for SubmitPackageResponse
impl StructuralPartialEq for SubmitPackageResponse
Auto Trait Implementations§
impl Freeze for SubmitPackageResponse
impl RefUnwindSafe for SubmitPackageResponse
impl Send for SubmitPackageResponse
impl Sync for SubmitPackageResponse
impl Unpin for SubmitPackageResponse
impl UnwindSafe for SubmitPackageResponse
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