pub struct SelectorMut { /* private fields */ }Implementations§
Source§impl SelectorMut
impl SelectorMut
pub fn new() -> Self
pub fn str_path(&mut self, path: &str) -> Result<&mut Self, JsonPathError>
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: FnMut(Value) -> Option<Value>>( &mut self, fun: &mut F, ) -> Result<&mut Self, JsonPathError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SelectorMut
impl RefUnwindSafe for SelectorMut
impl Send for SelectorMut
impl Sync for SelectorMut
impl Unpin for SelectorMut
impl UnsafeUnpin for SelectorMut
impl UnwindSafe for SelectorMut
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