pub struct TxOut {
pub amount: VarInt,
pub target: TxOutTarget,
}
Expand description
A transaction output, can be consumed by a TxIn
input of the matching format.
Fields
amount: VarInt
The amount sent to the associated key, can be 0 in case of Confidential Transaction (CT).
target: TxOutTarget
The output target format.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for TxOut
impl<'de> Deserialize<'de> for TxOut
sourcefn 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
impl StructuralPartialEq for TxOut
Auto Trait Implementations
impl RefUnwindSafe for TxOut
impl Send for TxOut
impl Sync for TxOut
impl Unpin for TxOut
impl UnwindSafe for TxOut
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more