Struct randomorg::RandomResult [] [src]

pub struct RandomResult<RandomDataType> {
    pub random: RandomData<RandomDataType>,
    pub bits_used: u64,
    pub bits_left: u64,
    pub requests_left: u64,
    pub advisory_delay: u64,
}

A random.org response with random data.

Fields

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

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

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

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

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

Trait Implementations

impl<RandomDataType: Debug> Debug for RandomResult<RandomDataType>
[src]

Formats the value using the given formatter.

impl<RandomDataType: Clone> Clone for RandomResult<RandomDataType>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more