Struct json_predicate::builder::AndBuilder
source · pub struct AndBuilder { /* private fields */ }
Expand description
Builder for And
.
Implementations§
source§impl AndBuilder
impl AndBuilder
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 https://tools.ietf.org/html/rfc6901 If the “path” member is not specified within the predicate object, it’s value is assumed to be an empty string.
pub fn apply<VALUE: Into<Vec<Predicate>>>(self, value: VALUE) -> Self
sourcepub fn build(self) -> Result<And, AndBuilderError>
pub fn build(self) -> Result<And, AndBuilderError>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AndBuilder
impl Send for AndBuilder
impl Sync for AndBuilder
impl Unpin for AndBuilder
impl UnwindSafe for AndBuilder
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