pub struct OracleReveal {
pub request_id: [u8; 32],
pub response_body: Vec<u8>,
pub response_status: u16,
pub validator_pk: Vec<u8>,
pub revealed_at: u64,
}Expand description
A validator’s reveal of their committed oracle response. Written to State by SubmitOracleReveal transaction.
Fields§
§request_id: [u8; 32]§response_body: Vec<u8>§response_status: u16§validator_pk: Vec<u8>§revealed_at: u64Trait Implementations§
Source§impl Clone for OracleReveal
impl Clone for OracleReveal
Source§fn clone(&self) -> OracleReveal
fn clone(&self) -> OracleReveal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OracleReveal
impl Debug for OracleReveal
Source§impl<'de> Deserialize<'de> for OracleReveal
impl<'de> Deserialize<'de> for OracleReveal
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 OracleReveal
impl RefUnwindSafe for OracleReveal
impl Send for OracleReveal
impl Sync for OracleReveal
impl Unpin for OracleReveal
impl UnsafeUnpin for OracleReveal
impl UnwindSafe for OracleReveal
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