pub struct UnescapedStr<'a>(/* private fields */);Expand description
A string that will not have escapes applied to it. You should only use this if you’re absolutely sure you don’t need them.
Implementations§
Source§impl<'a> UnescapedStr<'a>
impl<'a> UnescapedStr<'a>
pub fn create(val: &'a str) -> UnescapedStr<'a>
Trait Implementations§
Source§impl Key for UnescapedStr<'_>
impl Key for UnescapedStr<'_>
fn write<S: JsonBuffer>(self, out: &mut S)
Source§impl<'a, S: JsonBuffer> WriteToJson<S> for UnescapedStr<'a>
impl<'a, S: JsonBuffer> WriteToJson<S> for UnescapedStr<'a>
fn write_to_json(self, out: &mut S)
Auto Trait Implementations§
impl<'a> Freeze for UnescapedStr<'a>
impl<'a> RefUnwindSafe for UnescapedStr<'a>
impl<'a> Send for UnescapedStr<'a>
impl<'a> Sync for UnescapedStr<'a>
impl<'a> Unpin for UnescapedStr<'a>
impl<'a> UnwindSafe for UnescapedStr<'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