#[repr(packed)]
pub struct VrfAccountData { pub status: VrfStatus, pub counter: u128, pub authority: Pubkey, pub oracle_queue: Pubkey, pub escrow: Pubkey, pub callback: CallbackZC, pub batch_size: u32, pub builders: [VrfBuilder; 8], pub builders_len: u32, pub test_mode: bool, pub current_round: VrfRound, pub _ebuf: [u8; 1024], }

Fields

status: VrfStatuscounter: u128authority: Pubkeyoracle_queue: Pubkeyescrow: Pubkeycallback: CallbackZCbatch_size: u32builders: [VrfBuilder; 8]builders_len: u32test_mode: boolcurrent_round: VrfRound_ebuf: [u8; 1024]

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Self must have the same layout as the specified Bits except for the possible invalid bit patterns being checked during is_valid_bit_pattern. Read more

If this function returns true, then it must be valid to reinterpret bits as &Self.

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.