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 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 Freeze for NotBuilder
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