Struct switchboard_solana::oracle_program::accounts::ecvrf::VrfRound
source · #[repr(packed(1))]pub struct VrfRound {
pub alpha: [u8; 256],
pub alpha_len: u32,
pub request_slot: u64,
pub request_timestamp: i64,
pub result: [u8; 32],
pub num_verified: u32,
pub _ebuf: [u8; 256],
}
Fields§
§alpha: [u8; 256]
The alpha bytes used to calculate the VRF proof.
alpha_len: u32
The number of bytes in the alpha buffer.
request_slot: u64
The Slot when the VRF round was opened.
request_timestamp: i64
The unix timestamp when the VRF round was opened.
result: [u8; 32]
The VRF round result. Will be zeroized if still awaiting fulfillment.
num_verified: u32
The number of builders who verified the VRF proof.
_ebuf: [u8; 256]
Reserved for future info.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for VrfRound
impl Send for VrfRound
impl Sync for VrfRound
impl Unpin for VrfRound
impl UnwindSafe for VrfRound
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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