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