pub struct DataUpdate {
pub feed_id: [u8; 32],
pub registry_version: u32,
pub value: [u8; 32],
pub canonical_timestamp: i64,
pub signatures_required: u8,
pub agg_sig_s: [u8; 32],
pub commitment_addr: [u8; 20],
pub signers_bitmap: [u8; 32],
}Expand description
A signed Molpha data update.
Fields§
§feed_id: [u8; 32]§registry_version: u32§value: [u8; 32]§canonical_timestamp: i64§signatures_required: u8§agg_sig_s: [u8; 32]Aggregate Schnorr signature scalar s.
commitment_addr: [u8; 20]Ethereum-style commitment address (20 bytes).
signers_bitmap: [u8; 32]EVM uint256 bitmap (big-endian) of which nodes signed.
Trait Implementations§
Source§impl Clone for DataUpdate
impl Clone for DataUpdate
Source§fn clone(&self) -> DataUpdate
fn clone(&self) -> DataUpdate
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 DataUpdate
impl Debug for DataUpdate
impl Eq for DataUpdate
Source§impl PartialEq for DataUpdate
impl PartialEq for DataUpdate
impl StructuralPartialEq for DataUpdate
Auto Trait Implementations§
impl Freeze for DataUpdate
impl RefUnwindSafe for DataUpdate
impl Send for DataUpdate
impl Sync for DataUpdate
impl Unpin for DataUpdate
impl UnsafeUnpin for DataUpdate
impl UnwindSafe for DataUpdate
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