Struct randomorg::Response
[−]
[src]
pub struct Response<ResponseResult> { pub json_rpc: String, pub result: ResponseResult, pub id: RequestId, }
A random.org response holder
Fields
json_rpc: String
A json rpc version
result: ResponseResult
If no error occurred, this member contains the response from the service, typically random values and other associated data. If an error occurred, this member is not included in the response.
id: RequestId
A request identifier that allows the client to match responses to request. The service will return this unchanged in its response.
Trait Implementations
impl<ResponseResult: Debug> Debug for Response<ResponseResult>
[src]
impl<ResponseResult: Clone> Clone for Response<ResponseResult>
[src]
fn clone(&self) -> Response<ResponseResult>
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