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