GenerateIntegersResult

Type Alias GenerateIntegersResult 

Source
pub type GenerateIntegersResult = RandomResult<i32>;
Expand description

A random.org response of generateIntegers method.

Aliased Type§

pub struct GenerateIntegersResult {
    pub random: RandomData<i32>,
    pub bits_used: u64,
    pub bits_left: u64,
    pub requests_left: u64,
    pub advisory_delay: u64,
}

Fields§

§random: RandomData<i32>

This object encapsulates the random numbers and associated data. It contains the following properties.

§bits_used: u64

An integer containing the number of true random bits used to complete this request.

§bits_left: u64

An integer containing the (estimated) number of remaining true random bits available to the client.

§requests_left: u64

An integer containing the (estimated) number of remaining API requests available to the client.

§advisory_delay: u64

An integer containing the recommended number of milliseconds that the client should delay before issuing another request.