pub struct Output {
pub tx_id: Hash,
pub tx_status: TransactionStatus,
pub tx_type: TransactionType,
pub block_height: UInt,
pub output_type: OutputType,
pub to: Option<Address>,
pub amount: Option<UInt>,
pub asset_id: Option<Hash>,
pub input_index: Option<UInt>,
pub balance_root: Option<Hash>,
pub state_root: Option<Hash>,
pub contract: Option<FixedSizeData<32>>,
}Expand description
An object representing all possible types of Outputs. CoinOutput, ContractOutput, ChangeOutput, VariableOutput, ContractCreated
Fields§
§tx_id: Hash§tx_status: TransactionStatus§tx_type: TransactionType§block_height: UInt§output_type: OutputType§to: Option<Address>§amount: Option<UInt>§asset_id: Option<Hash>§input_index: Option<UInt>§balance_root: Option<Hash>§state_root: Option<Hash>§contract: Option<FixedSizeData<32>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Output
impl<'de> Deserialize<'de> for Output
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
impl Eq for Output
impl StructuralPartialEq for Output
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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