Struct jormungandr_lib::interfaces::utxo_info::UTxOOutputInfo
source · pub struct UTxOOutputInfo {
address: Address,
value: Value,
}
Expand description
The UTxO data about output without its location in blockchain
Fields§
§address: Address
§value: Value
Implementations§
source§impl UTxOOutputInfo
impl UTxOOutputInfo
pub fn into_utxo_info( self, fragment_id: Hash, index_in_transaction: u8 ) -> UTxOInfo
Trait Implementations§
source§impl Clone for UTxOOutputInfo
impl Clone for UTxOOutputInfo
source§fn clone(&self) -> UTxOOutputInfo
fn clone(&self) -> UTxOOutputInfo
Returns a copy of the value. Read more
1.0.0 · 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 UTxOOutputInfo
impl Debug for UTxOOutputInfo
source§impl<'de> Deserialize<'de> for UTxOOutputInfo
impl<'de> Deserialize<'de> for UTxOOutputInfo
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
source§impl PartialEq<UTxOOutputInfo> for UTxOOutputInfo
impl PartialEq<UTxOOutputInfo> for UTxOOutputInfo
source§fn eq(&self, other: &UTxOOutputInfo) -> bool
fn eq(&self, other: &UTxOOutputInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UTxOOutputInfo
impl Serialize for UTxOOutputInfo
impl Eq for UTxOOutputInfo
impl StructuralEq for UTxOOutputInfo
impl StructuralPartialEq for UTxOOutputInfo
Auto Trait Implementations§
impl RefUnwindSafe for UTxOOutputInfo
impl Send for UTxOOutputInfo
impl Sync for UTxOOutputInfo
impl Unpin for UTxOOutputInfo
impl UnwindSafe for UTxOOutputInfo
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