Struct randomorg::RequestStrings
[−]
[src]
pub struct RequestStrings<'a> { /* fields omitted */ }
A lazy strings request (builder)
Methods
impl<'a> RequestStrings<'a>
[src]
fn new(client: &'a Random) -> RequestStrings
Creates a lazy strings request (builder)
fn limit(self, limit: u16) -> Self
A builder method
fn length(self, length: u8) -> Self
A builder method
fn characters(self, characters: AllowedCharacters) -> Self
A builder method
impl<'a> RequestStrings<'a>
[src]
Terminators
fn collect<T: From<Response<GenerateStringsResult>>>(self) -> Result<T>
Collect the random strings (performs the request)