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
random: RandomData<RandomDataType>
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.
Trait Implementations
impl<RandomDataType: Debug> Debug for RandomResult<RandomDataType>
[src]
impl<RandomDataType: Clone> Clone for RandomResult<RandomDataType>
[src]
fn clone(&self) -> RandomResult<RandomDataType>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more