[−][src]Struct wagyu_zcash::transaction::Outpoint
Represents a Zcash transparent transaction outpoint
Fields
reverse_transaction_id: Vec<u8>
Previous transaction id (using Zcash RPC's reversed hash order) - 32 bytes
index: u32
Index of the transaction being used - 4 bytes
amount: Option<ZcashAmount>
Amount associated with the UTXO - used for segwit transaction signatures
script_pub_key: Option<Vec<u8>>
Script public key asssociated with claiming this particular input UTXO
redeem_script: Option<Vec<u8>>
Optional redeem script - for segwit transactions
address: Option<ZcashAddress<N>>
Address of the outpoint
Methods
impl<N: ZcashNetwork> Outpoint<N>
[src]
pub fn new(
reverse_transaction_id: Vec<u8>,
index: u32,
address: Option<ZcashAddress<N>>,
amount: Option<ZcashAmount>,
redeem_script: Option<Vec<u8>>,
script_pub_key: Option<Vec<u8>>
) -> Result<Self, TransactionError>
[src]
reverse_transaction_id: Vec<u8>,
index: u32,
address: Option<ZcashAddress<N>>,
amount: Option<ZcashAmount>,
redeem_script: Option<Vec<u8>>,
script_pub_key: Option<Vec<u8>>
) -> Result<Self, TransactionError>
Returns a new Zcash transaction outpoint
Trait Implementations
impl<N: Clone + ZcashNetwork> Clone for Outpoint<N>
[src]
impl<N: Debug + ZcashNetwork> Debug for Outpoint<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for Outpoint<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for Outpoint<N>
impl<N> Sync for Outpoint<N>
impl<N> Unpin for Outpoint<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for Outpoint<N> where
N: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,