pub struct TransactionInput {
pub input: TransactionInputType,
pub value: Value,
}
Fields§
§input: TransactionInputType
§value: Value
Trait Implementations§
source§impl Clone for TransactionInput
impl Clone for TransactionInput
source§fn clone(&self) -> TransactionInput
fn clone(&self) -> TransactionInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TransactionInput
impl Debug for TransactionInput
source§impl<'de> Deserialize<'de> for TransactionInput
impl<'de> Deserialize<'de> for TransactionInput
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 From<Input> for TransactionInput
impl From<Input> for TransactionInput
source§fn from(i: Input) -> TransactionInput
fn from(i: Input) -> TransactionInput
Converts to this type from the input type.
source§impl From<TransactionInput> for Input
impl From<TransactionInput> for Input
source§fn from(i: TransactionInput) -> Input
fn from(i: TransactionInput) -> Input
Converts to this type from the input type.
source§impl PartialEq<TransactionInput> for TransactionInput
impl PartialEq<TransactionInput> for TransactionInput
source§fn eq(&self, other: &TransactionInput) -> bool
fn eq(&self, other: &TransactionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TransactionInput
impl Serialize for TransactionInput
impl Eq for TransactionInput
impl StructuralEq for TransactionInput
impl StructuralPartialEq for TransactionInput
Auto Trait Implementations§
impl RefUnwindSafe for TransactionInput
impl Send for TransactionInput
impl Sync for TransactionInput
impl Unpin for TransactionInput
impl UnwindSafe for TransactionInput
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