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