Struct jsonpath_lib::JsonSelectorMut
source · pub struct JsonSelectorMut<'a> { /* private fields */ }
Implementations§
source§impl<'a> JsonSelectorMut<'a>
impl<'a> JsonSelectorMut<'a>
pub fn new(parser: PathParser<'a>) -> Self
pub fn new_ref(parser: Rc<PathParser<'a>>) -> Self
pub fn reset_parser(&mut self, parser: PathParser<'a>) -> &mut Self
pub fn reset_parser_ref(&mut self, parser: Rc<PathParser<'a>>) -> &mut Self
pub fn value(&mut self, value: Value) -> &mut Self
pub fn take(&mut self) -> Option<Value>
pub fn delete(&mut self) -> Result<&mut Self, JsonPathError>
pub fn remove(&mut self) -> Result<&mut Self, JsonPathError>
pub fn replace_with<F>( &mut self, fun: &mut F ) -> Result<&mut Self, JsonPathError>
Trait Implementations§
source§impl<'a> Default for JsonSelectorMut<'a>
impl<'a> Default for JsonSelectorMut<'a>
source§fn default() -> JsonSelectorMut<'a>
fn default() -> JsonSelectorMut<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> RefUnwindSafe for JsonSelectorMut<'a>
impl<'a> !Send for JsonSelectorMut<'a>
impl<'a> !Sync for JsonSelectorMut<'a>
impl<'a> Unpin for JsonSelectorMut<'a>
impl<'a> UnwindSafe for JsonSelectorMut<'a>
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