Struct json_predicate::builder::InBuilder
source · pub struct InBuilder { /* private fields */ }
Expand description
Builder for In
.
Implementations§
source§impl InBuilder
impl InBuilder
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<Vec<Value>>>(self, value: VALUE) -> Self
sourcepub fn build(self) -> Result<In, InBuilderError>
pub fn build(self) -> Result<In, InBuilderError>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for InBuilder
impl Send for InBuilder
impl Sync for InBuilder
impl Unpin for InBuilder
impl UnwindSafe for InBuilder
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