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