pub struct ContainsBuilder { /* private fields */ }
Expand description
Builder for Contains
.
Implementations§
Source§impl ContainsBuilder
impl ContainsBuilder
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
pub fn value<VALUE: Into<Value>>(self, value: VALUE) -> Self
Sourcepub fn build(self) -> Result<Contains, ContainsBuilderError>
pub fn build(self) -> Result<Contains, ContainsBuilderError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ContainsBuilder
impl RefUnwindSafe for ContainsBuilder
impl Send for ContainsBuilder
impl Sync for ContainsBuilder
impl Unpin for ContainsBuilder
impl UnwindSafe for ContainsBuilder
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