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.
Implementations§
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 PartialOrd for TxOut
impl PartialOrd for TxOut
impl Eq for TxOut
impl StructuralPartialEq for TxOut
Auto Trait Implementations§
impl Freeze for TxOut
impl RefUnwindSafe for TxOut
impl Send for TxOut
impl Sync for TxOut
impl Unpin for TxOut
impl UnwindSafe for TxOut
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