pub struct ArbitraryUri(pub Uri);Expand description
Wrapper that generates random-ish Uri instances.
Not that URI generation is rather basic. There probably
a lot of tricky cases that are not considered
Tuple Fields§
§0: UriTrait Implementations§
Source§impl Arbitrary for ArbitraryUri
impl Arbitrary for ArbitraryUri
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = UriStrategy
type Strategy = UriStrategy
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with((): Self::Parameters) -> Self::Strategy
fn arbitrary_with((): Self::Parameters) -> Self::Strategy
Source§impl Clone for ArbitraryUri
impl Clone for ArbitraryUri
Source§fn clone(&self) -> ArbitraryUri
fn clone(&self) -> ArbitraryUri
Returns a duplicate 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 moreSource§impl Debug for ArbitraryUri
impl Debug for ArbitraryUri
Source§impl PartialEq for ArbitraryUri
impl PartialEq for ArbitraryUri
impl Eq for ArbitraryUri
impl StructuralPartialEq for ArbitraryUri
Auto Trait Implementations§
impl !Freeze for ArbitraryUri
impl RefUnwindSafe for ArbitraryUri
impl Send for ArbitraryUri
impl Sync for ArbitraryUri
impl Unpin for ArbitraryUri
impl UnwindSafe for ArbitraryUri
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