pub struct ArbitraryJsonPathQuery {
pub string: String,
pub parsed: JsonPathQuery,
}
Expand description
A valid JSONPath string and the JsonPathQuery
object parsed from it.
This is the struct through which an proptest::arbitrary::Arbitrary
implementation
for JsonPathQuery
is provided.
Fields§
§string: String
The JSONPath query string.
parsed: JsonPathQuery
The parsed JSONPath query.
Implementations§
Source§impl ArbitraryJsonPathQuery
impl ArbitraryJsonPathQuery
pub fn new(string: String, parsed: JsonPathQuery) -> Self
Trait Implementations§
Source§impl Arbitrary for ArbitraryJsonPathQuery
impl Arbitrary for ArbitraryJsonPathQuery
Source§type Parameters = ArbitraryJsonPathQueryParams
type Parameters = ArbitraryJsonPathQueryParams
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.Source§type Strategy = BoxedStrategy<ArbitraryJsonPathQuery>
type Strategy = BoxedStrategy<ArbitraryJsonPathQuery>
The type of
Strategy
used to generate values of type Self
.Source§fn arbitrary_with(args: Self::Parameters) -> Self::Strategy
fn arbitrary_with(args: Self::Parameters) -> Self::Strategy
Auto Trait Implementations§
impl Freeze for ArbitraryJsonPathQuery
impl RefUnwindSafe for ArbitraryJsonPathQuery
impl Send for ArbitraryJsonPathQuery
impl Sync for ArbitraryJsonPathQuery
impl Unpin for ArbitraryJsonPathQuery
impl UnwindSafe for ArbitraryJsonPathQuery
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