pub struct GetTxSpendingPrevout(pub Vec<GetTxSpendingPrevoutItem>);Expand description
Result of JSON-RPC method gettxspendingprevout.
gettxspendingprevout [{“txid”:“hex”,“vout”:n},…]
Scans the mempool to find transactions spending any of the given outputs
Arguments:
- outputs (json array, required) The transaction outputs that we want to check, and within each, the txid (string) vout (numeric).
Tuple Fields§
§0: Vec<GetTxSpendingPrevoutItem>Implementations§
Source§impl GetTxSpendingPrevout
impl GetTxSpendingPrevout
Sourcepub fn into_model(
self,
) -> Result<GetTxSpendingPrevout, GetTxSpendingPrevoutError>
pub fn into_model( self, ) -> Result<GetTxSpendingPrevout, GetTxSpendingPrevoutError>
Converts version specific type to a version nonspecific, more strongly typed type.
Trait Implementations§
Source§impl Clone for GetTxSpendingPrevout
impl Clone for GetTxSpendingPrevout
Source§fn clone(&self) -> GetTxSpendingPrevout
fn clone(&self) -> GetTxSpendingPrevout
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 GetTxSpendingPrevout
impl Debug for GetTxSpendingPrevout
Source§impl<'de> Deserialize<'de> for GetTxSpendingPrevout
impl<'de> Deserialize<'de> for GetTxSpendingPrevout
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetTxSpendingPrevout, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetTxSpendingPrevout, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetTxSpendingPrevout
impl PartialEq for GetTxSpendingPrevout
Source§impl Serialize for GetTxSpendingPrevout
impl Serialize for GetTxSpendingPrevout
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 StructuralPartialEq for GetTxSpendingPrevout
Auto Trait Implementations§
impl Freeze for GetTxSpendingPrevout
impl RefUnwindSafe for GetTxSpendingPrevout
impl Send for GetTxSpendingPrevout
impl Sync for GetTxSpendingPrevout
impl Unpin for GetTxSpendingPrevout
impl UnsafeUnpin for GetTxSpendingPrevout
impl UnwindSafe for GetTxSpendingPrevout
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