Enum monero::blockdata::transaction::TxOutTarget [−][src]
pub enum TxOutTarget { ToScript { keys: Vec<PublicKey>, script: Vec<u8>, }, ToKey { key: PublicKey, }, ToScriptHash { hash: Hash, }, }
Type of output formats, only TxOutTarget::ToKey
is used, other formats are legacy to the
original cryptonote implementation.
Variants
A script output, not used.
A one-time public key output.
Show fields
Fields of ToKey
key: PublicKey
The one-time public key of that output.
A script hash output, not used.
Show fields
Fields of ToScriptHash
hash: Hash
The script hash
Implementations
impl TxOutTarget
[src]
impl TxOutTarget
[src]pub fn get_pubkeys(&self) -> Option<Vec<PublicKey>>
[src]
Retreive the public keys, if any.
Trait Implementations
impl Clone for TxOutTarget
[src]
impl Clone for TxOutTarget
[src]fn clone(&self) -> TxOutTarget
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Decodable for TxOutTarget
[src]
impl Decodable for TxOutTarget
[src]fn consensus_decode<D: Read>(d: &mut D) -> Result<TxOutTarget, Error>
[src]
impl<'de> Deserialize<'de> for TxOutTarget
[src]
impl<'de> Deserialize<'de> for TxOutTarget
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Encodable for TxOutTarget
[src]
impl Encodable for TxOutTarget
[src]impl Serialize for TxOutTarget
[src]
impl Serialize for TxOutTarget
[src]Auto Trait Implementations
impl RefUnwindSafe for TxOutTarget
impl RefUnwindSafe for TxOutTarget
impl Send for TxOutTarget
impl Send for TxOutTarget
impl Sync for TxOutTarget
impl Sync for TxOutTarget
impl Unpin for TxOutTarget
impl Unpin for TxOutTarget
impl UnwindSafe for TxOutTarget
impl UnwindSafe for TxOutTarget
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self