Enum monero::blockdata::transaction::TxIn
source · pub enum TxIn {
Gen {
height: VarInt,
},
ToKey {
amount: VarInt,
key_offsets: Vec<VarInt>,
k_image: KeyImage,
},
}
Expand description
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§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TxIn
impl<'de> Deserialize<'de> for TxIn
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 PartialEq for TxIn
impl PartialEq for TxIn
impl Eq for TxIn
impl StructuralPartialEq for TxIn
Auto Trait Implementations§
impl Freeze for TxIn
impl RefUnwindSafe for TxIn
impl Send for TxIn
impl Sync for TxIn
impl Unpin for TxIn
impl UnwindSafe for TxIn
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