pub struct TransactionInput {
pub source_txid: String,
pub source_output_index: u32,
pub unlocking_script: Vec<u8>,
pub sequence: u32,
pub source_output: Option<TransactionOutput>,
}Fields§
§source_txid: String§source_output_index: u32§unlocking_script: Vec<u8>§sequence: u32§source_output: Option<TransactionOutput>Implementations§
Trait Implementations§
Source§impl Clone for TransactionInput
impl Clone for TransactionInput
Source§fn clone(&self) -> TransactionInput
fn clone(&self) -> TransactionInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
impl Eq for TransactionInput
Source§impl From<TransactionInput> for JsValue
impl From<TransactionInput> for JsValue
Source§fn from(value: TransactionInput) -> Self
fn from(value: TransactionInput) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for TransactionInput
impl FromWasmAbi for TransactionInput
Source§impl IntoWasmAbi for TransactionInput
impl IntoWasmAbi for TransactionInput
Source§impl LongRefFromWasmAbi for TransactionInput
impl LongRefFromWasmAbi for TransactionInput
Source§type Abi = WasmPtr<WasmRefCell<TransactionInput>>
type Abi = WasmPtr<WasmRefCell<TransactionInput>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<TransactionInput>
type Anchor = RcRef<TransactionInput>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl OptionFromWasmAbi for TransactionInput
impl OptionFromWasmAbi for TransactionInput
Source§impl OptionIntoWasmAbi for TransactionInput
impl OptionIntoWasmAbi for TransactionInput
Source§impl PartialEq for TransactionInput
impl PartialEq for TransactionInput
Source§impl RefFromWasmAbi for TransactionInput
impl RefFromWasmAbi for TransactionInput
Source§type Abi = WasmPtr<WasmRefCell<TransactionInput>>
type Abi = WasmPtr<WasmRefCell<TransactionInput>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<TransactionInput>
type Anchor = RcRef<TransactionInput>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for TransactionInput
impl RefMutFromWasmAbi for TransactionInput
Source§type Abi = WasmPtr<WasmRefCell<TransactionInput>>
type Abi = WasmPtr<WasmRefCell<TransactionInput>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<TransactionInput>
type Anchor = RcRefMut<TransactionInput>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl Serialize for TransactionInput
impl Serialize for TransactionInput
impl StructuralPartialEq for TransactionInput
impl SupportsConstructor for TransactionInput
impl SupportsInstanceProperty for TransactionInput
impl SupportsStaticProperty for TransactionInput
Source§impl TryFromJsValue for TransactionInput
impl TryFromJsValue for TransactionInput
Source§impl VectorFromWasmAbi for TransactionInput
impl VectorFromWasmAbi for TransactionInput
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[TransactionInput]>
Source§impl VectorIntoWasmAbi for TransactionInput
impl VectorIntoWasmAbi for TransactionInput
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[TransactionInput]>) -> Self::Abi
Source§impl WasmDescribeVector for TransactionInput
impl WasmDescribeVector for TransactionInput
Auto Trait Implementations§
impl Freeze for TransactionInput
impl RefUnwindSafe for TransactionInput
impl Send for TransactionInput
impl Sync for TransactionInput
impl Unpin for TransactionInput
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.