Struct chain_impl_mockchain::transaction::transfer::Output
source · pub struct Output<Address> {
pub address: Address,
pub value: Value,
}
Expand description
Information how tokens are spent. A value of tokens is sent to the address.
Fields§
§address: Address
§value: Value
Implementations§
Trait Implementations§
source§impl<Address: Deserialize> Deserialize for Output<Address>
impl<Address: Deserialize> Deserialize for Output<Address>
fn deserialize<R: Read>(codec: &mut Codec<R>) -> Result<Self, ReadError>
fn deserialize_validate<R>(codec: &mut Codec<R>) -> Result<(), ReadError>where R: Read,
source§impl Display for Output<OldAddress>
impl Display for Output<OldAddress>
source§impl<Address: PartialEq> PartialEq<Output<Address>> for Output<Address>
impl<Address: PartialEq> PartialEq<Output<Address>> for Output<Address>
impl<Address: Eq> Eq for Output<Address>
impl<Address> StructuralEq for Output<Address>
impl<Address> StructuralPartialEq for Output<Address>
Auto Trait Implementations§
impl<Address> RefUnwindSafe for Output<Address>where Address: RefUnwindSafe,
impl<Address> Send for Output<Address>where Address: Send,
impl<Address> Sync for Output<Address>where Address: Sync,
impl<Address> Unpin for Output<Address>where Address: Unpin,
impl<Address> UnwindSafe for Output<Address>where Address: UnwindSafe,
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