Struct serde_json_borrow::OwnedValue
source · pub struct OwnedValue { /* private fields */ }Expand description
Parses a String into Value, by taking ownership of String and reference slices from it in
contrast to copying the contents.
This is done to mitigate lifetime issues.
Implementations§
source§impl OwnedValue
impl OwnedValue
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OwnedValue
impl RefUnwindSafe for OwnedValue
impl Send for OwnedValue
impl Sync for OwnedValue
impl Unpin for OwnedValue
impl UnwindSafe for OwnedValue
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