Struct chainhook_types::bitcoin::TxOut
source · pub struct TxOut {
pub value: u64,
pub script_pubkey: String,
}Expand description
A transaction output, which defines new coins to be created from old ones.
Fields§
§value: u64The value of the output, in satoshis.
script_pubkey: StringThe script which must be satisfied for the output to be spent.
Trait Implementations§
source§impl<'de> Deserialize<'de> for TxOut
impl<'de> Deserialize<'de> for TxOut
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 Ord for TxOut
impl Ord for TxOut
source§impl PartialEq<TxOut> for TxOut
impl PartialEq<TxOut> for TxOut
source§impl PartialOrd<TxOut> for TxOut
impl PartialOrd<TxOut> for TxOut
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more