Struct monero::blockdata::transaction::TxOut [−][src]
pub struct TxOut { pub amount: VarInt, pub target: TxOutTarget, }
Expand description
A transaction output, can be consumed by a TxIn
input of the matching format.
Fields
amount: VarInt
The amount sent to the associated key, can be 0 in case of Confidential Transaction (CT).
target: TxOutTarget
The output target format.
Implementations
impl TxOut
[src]
impl TxOut
[src]pub fn get_pubkeys(&self) -> Option<Vec<PublicKey>>
[src]
pub fn get_pubkeys(&self) -> Option<Vec<PublicKey>>
[src]Retreive the public keys, if any
Trait Implementations
impl<'de> Deserialize<'de> for TxOut
[src]
impl<'de> Deserialize<'de> for TxOut
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl StrictDecode for TxOut
[src]
impl StrictDecode for TxOut
[src]This is supported on crate feature
strict_encoding_support
only.impl StrictEncode for TxOut
[src]
impl StrictEncode for TxOut
[src]This is supported on crate feature
strict_encoding_support
only.Auto Trait Implementations
impl RefUnwindSafe for TxOut
impl Send for TxOut
impl Sync for TxOut
impl Unpin for TxOut
impl UnwindSafe for TxOut
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,