pub struct RevealBody {
pub dr_block_height: u64,
pub exit_code: u8,
pub gas_used: u64,
pub reveal: Vec<u8>,
}Expand description
Represents the body of a reveal body of a data request report.
Fields§
§dr_block_height: u64The block height the data request was posted.
exit_code: u8The exit code of the data request’s execution VM.
gas_used: u64The gas used by the data request’s execution VM.
reveal: Vec<u8>The data returned by the data request’s execution VM.
Trait Implementations§
Source§impl Clone for RevealBody
impl Clone for RevealBody
Source§fn clone(&self) -> RevealBody
fn clone(&self) -> RevealBody
Returns a duplicate 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 RevealBody
impl Debug for RevealBody
Source§impl<'de> Deserialize<'de> for RevealBody
impl<'de> Deserialize<'de> for RevealBody
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
Auto Trait Implementations§
impl Freeze for RevealBody
impl RefUnwindSafe for RevealBody
impl Send for RevealBody
impl Sync for RevealBody
impl Unpin for RevealBody
impl UnwindSafe for RevealBody
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