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