pub struct ArbitraryHeaderValue(pub HeaderValue);
Tuple Fields§
§0: HeaderValue
Trait Implementations§
Source§impl Arbitrary for ArbitraryHeaderValue
impl Arbitrary for ArbitraryHeaderValue
Source§type Strategy = HeaderValueStrategy
type Strategy = HeaderValueStrategy
The type of
Strategy
used to generate values of type Self
.Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.Source§fn arbitrary_with((): Self::Parameters) -> Self::Strategy
fn arbitrary_with((): Self::Parameters) -> Self::Strategy
Source§impl Clone for ArbitraryHeaderValue
impl Clone for ArbitraryHeaderValue
Source§fn clone(&self) -> ArbitraryHeaderValue
fn clone(&self) -> ArbitraryHeaderValue
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 ArbitraryHeaderValue
impl Debug for ArbitraryHeaderValue
Source§impl PartialEq for ArbitraryHeaderValue
impl PartialEq for ArbitraryHeaderValue
impl Eq for ArbitraryHeaderValue
impl StructuralPartialEq for ArbitraryHeaderValue
Auto Trait Implementations§
impl !Freeze for ArbitraryHeaderValue
impl RefUnwindSafe for ArbitraryHeaderValue
impl Send for ArbitraryHeaderValue
impl Sync for ArbitraryHeaderValue
impl Unpin for ArbitraryHeaderValue
impl UnwindSafe for ArbitraryHeaderValue
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