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