pub struct RandomRequestBuilder { /* private fields */ }
Expand description
Builder for RandomRequest
.
Implementations§
source§impl RandomRequestBuilder
impl RandomRequestBuilder
pub fn bytes<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn format<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn source<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn build(&self) -> Result<RandomRequest, RandomRequestBuilderError>
pub fn build(&self) -> Result<RandomRequest, RandomRequestBuilderError>
Trait Implementations§
source§impl Clone for RandomRequestBuilder
impl Clone for RandomRequestBuilder
source§fn clone(&self) -> RandomRequestBuilder
fn clone(&self) -> RandomRequestBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RandomRequestBuilder
impl RefUnwindSafe for RandomRequestBuilder
impl Send for RandomRequestBuilder
impl Sync for RandomRequestBuilder
impl Unpin for RandomRequestBuilder
impl UnwindSafe for RandomRequestBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)