Enum monero::blockdata::transaction::TxIn [−][src]
pub enum TxIn { Gen { height: VarInt, }, ToKey { amount: VarInt, key_offsets: Vec<VarInt>, k_image: KeyImage, }, ToScript, ToScriptHash, }
A transaction input, either a coinbase spend or a one-time key spend which defines the ring size and the key image to avoid double spend.
Variants
A coinbase input.
Show fields
Fields of Gen
height: VarInt
Block height of where the coinbase transaction is included.
A key input from a key output.
Show fields
Input from script output, not used.
Input from script hash output, not used.
Trait Implementations
impl<'de> Deserialize<'de> for TxIn
[src]
impl<'de> Deserialize<'de> for TxIn
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StrictDecode for TxIn
[src]
impl StrictDecode for TxIn
[src]This is supported on crate feature
strict_encoding_support
only.Auto Trait Implementations
impl RefUnwindSafe for TxIn
impl RefUnwindSafe for TxIn
impl UnwindSafe for TxIn
impl UnwindSafe for TxIn
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self