pub struct JsonFormat;Expand description
Targeted JSON string adapter.
Trait Implementations§
Source§impl Clone for JsonFormat
impl Clone for JsonFormat
impl Copy for JsonFormat
Source§impl Debug for JsonFormat
impl Debug for JsonFormat
Source§impl Default for JsonFormat
impl Default for JsonFormat
Source§impl FormatAdapter for JsonFormat
impl FormatAdapter for JsonFormat
Source§fn edit_text(
&self,
text: &str,
pointer: &str,
new_value: &str,
) -> Result<String>
fn edit_text( &self, text: &str, pointer: &str, new_value: &str, ) -> Result<String>
Produce updated text without touching the filesystem.
Source§fn read_text(&self, text: &str, pointer: &str) -> Result<String>
fn read_text(&self, text: &str, pointer: &str) -> Result<String>
Read a selected string from in-memory text.
Auto Trait Implementations§
impl Freeze for JsonFormat
impl RefUnwindSafe for JsonFormat
impl Send for JsonFormat
impl Sync for JsonFormat
impl Unpin for JsonFormat
impl UnsafeUnpin for JsonFormat
impl UnwindSafe for JsonFormat
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