Struct json_predicate::builder::MatchesBuilder
source · pub struct MatchesBuilder { /* private fields */ }
Expand description
Builder for Matches
.
Implementations§
source§impl MatchesBuilder
impl MatchesBuilder
sourcepub fn path<VALUE: Into<JSONPath>>(self, value: VALUE) -> Self
pub fn path<VALUE: Into<JSONPath>>(self, value: VALUE) -> Self
Must be a JSON Pointer If the “path” member is not specified within the predicate object, it’s value is assumed to be an empty string.
pub fn ignore_case<VALUE: Into<bool>>(self, value: VALUE) -> Self
sourcepub fn build(self) -> Result<Matches, MatchesBuilderError>
pub fn build(self) -> Result<Matches, MatchesBuilderError>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MatchesBuilder
impl Send for MatchesBuilder
impl Sync for MatchesBuilder
impl Unpin for MatchesBuilder
impl UnwindSafe for MatchesBuilder
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