Struct json_predicate::builder::NotBuilder
source · pub struct NotBuilder { /* private fields */ }
Expand description
Builder for Not
.
Implementations§
source§impl NotBuilder
impl NotBuilder
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<Not, NotBuilderError>
pub fn build(self) -> Result<Not, NotBuilderError>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for NotBuilder
impl Send for NotBuilder
impl Sync for NotBuilder
impl Unpin for NotBuilder
impl UnwindSafe for NotBuilder
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