pub struct TransactionOutput {
pub value: i64,
pub script_pubkey: Vec<u8>,
}Expand description
Transaction Output: ๐ฏ = โค ร ๐
Fieldsยง
ยงvalue: i64ยงscript_pubkey: Vec<u8>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<TransactionOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransactionOutput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Sourceยงimpl PartialEq for TransactionOutput
impl PartialEq for TransactionOutput
Sourceยงfn eq(&self, other: &TransactionOutput) -> bool
fn eq(&self, other: &TransactionOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Sourceยงimpl Serialize for TransactionOutput
impl Serialize for TransactionOutput
Sourceยงfn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for TransactionOutput
impl StructuralPartialEq 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,
Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงfn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Sourceยงimpl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
Sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more