pub struct RexDutiesMapValue {
pub updates: BTreeMap<AuthorityKeyBytes, Option<RexUpdateResult>>,
pub config: RexDutyConfig,
}Expand description
Value type for the REX duties map, tracking validator assignments and their update results.
Fields§
§updates: BTreeMap<AuthorityKeyBytes, Option<RexUpdateResult>>A map of authority key bytes to their REX update results.
- Key: The validator’s 96-byte authority public key (BLS12-381)
- Value: The result of the validator’s REX update,
where
Noneindicates the duty is still pending andSome(result)indicates completion
config: RexDutyConfigThe configuration parameters that define how this REX duty is scheduled and finalized, including request delay, collection window size, and commitment buffer.
Trait Implementations§
Source§impl Clone for RexDutiesMapValue
impl Clone for RexDutiesMapValue
Source§fn clone(&self) -> RexDutiesMapValue
fn clone(&self) -> RexDutiesMapValue
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 RexDutiesMapValue
impl Debug for RexDutiesMapValue
Source§impl Default for RexDutiesMapValue
impl Default for RexDutiesMapValue
Source§fn default() -> RexDutiesMapValue
fn default() -> RexDutiesMapValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RexDutiesMapValue
impl<'de> Deserialize<'de> for RexDutiesMapValue
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 RexDutiesMapValue
Source§impl PartialEq for RexDutiesMapValue
impl PartialEq for RexDutiesMapValue
Source§fn eq(&self, other: &RexDutiesMapValue) -> bool
fn eq(&self, other: &RexDutiesMapValue) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RexDutiesMapValue
impl Serialize for RexDutiesMapValue
impl StructuralPartialEq for RexDutiesMapValue
Auto Trait Implementations§
impl Freeze for RexDutiesMapValue
impl RefUnwindSafe for RexDutiesMapValue
impl Send for RexDutiesMapValue
impl Sync for RexDutiesMapValue
impl Unpin for RexDutiesMapValue
impl UnsafeUnpin for RexDutiesMapValue
impl UnwindSafe for RexDutiesMapValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.