pub struct TransactionOutput {
pub satoshis: u64,
pub locking_script: Vec<u8>,
}Fields§
§satoshis: u64§locking_script: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for TransactionOutput
impl Clone for TransactionOutput
Source§fn clone(&self) -> TransactionOutput
fn clone(&self) -> TransactionOutput
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 TransactionOutput
impl Debug for TransactionOutput
Source§impl<'de> Deserialize<'de> for TransactionOutput
impl<'de> Deserialize<'de> for TransactionOutput
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 TransactionOutput
Source§impl From<TransactionOutput> for JsValue
impl From<TransactionOutput> for JsValue
Source§fn from(value: TransactionOutput) -> Self
fn from(value: TransactionOutput) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for TransactionOutput
impl FromWasmAbi for TransactionOutput
Source§impl IntoWasmAbi for TransactionOutput
impl IntoWasmAbi for TransactionOutput
Source§impl LongRefFromWasmAbi for TransactionOutput
impl LongRefFromWasmAbi for TransactionOutput
Source§type Abi = WasmPtr<WasmRefCell<TransactionOutput>>
type Abi = WasmPtr<WasmRefCell<TransactionOutput>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<TransactionOutput>
type Anchor = RcRef<TransactionOutput>
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 PartialEq for TransactionOutput
impl PartialEq for TransactionOutput
Source§impl RefFromWasmAbi for TransactionOutput
impl RefFromWasmAbi for TransactionOutput
Source§type Abi = WasmPtr<WasmRefCell<TransactionOutput>>
type Abi = WasmPtr<WasmRefCell<TransactionOutput>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<TransactionOutput>
type Anchor = RcRef<TransactionOutput>
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 TransactionOutput
impl RefMutFromWasmAbi for TransactionOutput
Source§type Abi = WasmPtr<WasmRefCell<TransactionOutput>>
type Abi = WasmPtr<WasmRefCell<TransactionOutput>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<TransactionOutput>
type Anchor = RcRefMut<TransactionOutput>
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 TransactionOutput
impl Serialize for TransactionOutput
impl StructuralPartialEq for TransactionOutput
impl SupportsConstructor for TransactionOutput
impl SupportsInstanceProperty for TransactionOutput
impl SupportsStaticProperty for TransactionOutput
Source§impl TryFromJsValue for TransactionOutput
impl TryFromJsValue for TransactionOutput
Source§impl VectorFromWasmAbi for TransactionOutput
impl VectorFromWasmAbi for TransactionOutput
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[TransactionOutput]>
Source§impl VectorIntoWasmAbi for TransactionOutput
impl VectorIntoWasmAbi for TransactionOutput
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[TransactionOutput]>) -> Self::Abi
Source§impl WasmDescribeVector for TransactionOutput
impl WasmDescribeVector for TransactionOutput
Auto Trait Implementations§
impl Freeze for TransactionOutput
impl RefUnwindSafe for TransactionOutput
impl Send for TransactionOutput
impl Sync for TransactionOutput
impl Unpin for TransactionOutput
impl UnsafeUnpin for TransactionOutput
impl UnwindSafe for TransactionOutput
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.