pub enum Input {
    /// A coin input.
    Coin: (),
    /// A contract input.
    Contract: (),
    /// A message input.
    Message: (),
}Expand description
The input type for a transaction.
Variants
Coin: ()
A coin input.
Contract: ()
A contract input.
Message: ()
A message input.
Trait Implementations
impl AbiEncode for Input<>
impl AbiEncode for Input<>
pub fn abi_encode(self, buffer: Buffer) -> Buffer
impl AbiDecode for Input<>
impl AbiDecode for Input<>
pub fn abi_decode(refmut buffer: BufferReader) -> Self
impl PartialEq for Input
impl PartialEq for Input
pub fn eq(self, other: Self) -> bool
pub fn neq(self, other: Self) -> bool
pub fn neq(self, other: Self) -> bool
Evaluates if two values of the same type are not equal.
Additional Information
This function is inherited when eq() is implemented.
Arguments
other: [Self] - The value of the same type.
Returns
- [bool] - 
trueif the two values are not equal, otherwisefalse. 
Examples
struct MyStruct {
    val: u64,
}
impl PartialEq for MyStruct {
    fn eq(self, other: Self) -> bool {
         self.val == other.val
    }
}
fn foo() {
    let struct1 = MyStruct { val: 10 };
    let struct2 = MyStruct { val: 2 };
    let result = struct1 != struct2;
    assert(result);
}