pub struct Receipt {
pub state_root: MerkleRoot,
pub epoch_id: u64,
pub tx_hash: Hash,
pub cycles_used: u64,
pub events: Vec<Event>,
pub response: ReceiptResponse,
}
Fields§
§state_root: MerkleRoot
§epoch_id: u64
§tx_hash: Hash
§cycles_used: u64
§events: Vec<Event>
§response: ReceiptResponse
Trait Implementations§
Source§impl FixedCodec for Receipt
impl FixedCodec for Receipt
fn encode_fixed(&self) -> ProtocolResult<Bytes>
fn decode_fixed(bytes: Bytes) -> ProtocolResult<Self>
impl Eq for Receipt
impl StructuralPartialEq for Receipt
Auto Trait Implementations§
impl Freeze for Receipt
impl RefUnwindSafe for Receipt
impl Send for Receipt
impl Sync for Receipt
impl Unpin for Receipt
impl UnwindSafe for Receipt
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