pub struct OutcomeStatus {
pub status: u8,
pub settled_value: u64,
pub question: u32,
}Expand description
A HIP-4 outcome as the chain sees it, the only HIP-4 read on HyperEVM.
Fields§
§status: u8§settled_value: u641e8 is 1.0; meaningful once settled.
question: u32u32::MAX when the outcome stands alone or its question is unknown.
Implementations§
Source§impl OutcomeStatus
impl OutcomeStatus
Trait Implementations§
Source§impl Clone for OutcomeStatus
impl Clone for OutcomeStatus
impl Copy for OutcomeStatus
Source§impl Debug for OutcomeStatus
impl Debug for OutcomeStatus
impl Eq for OutcomeStatus
Source§impl PartialEq for OutcomeStatus
impl PartialEq for OutcomeStatus
impl StructuralPartialEq for OutcomeStatus
Auto Trait Implementations§
impl Freeze for OutcomeStatus
impl RefUnwindSafe for OutcomeStatus
impl Send for OutcomeStatus
impl Sync for OutcomeStatus
impl Unpin for OutcomeStatus
impl UnsafeUnpin for OutcomeStatus
impl UnwindSafe for OutcomeStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.