Struct yarte::JsonPretty
source · [−]pub struct JsonPretty<'a, T>(pub &'a T);
Tuple Fields
0: &'a T
Trait Implementations
sourceimpl<'a, T> Clone for JsonPretty<'a, T>
impl<'a, T> Clone for JsonPretty<'a, T>
sourcefn clone(&self) -> JsonPretty<'a, T>
fn clone(&self) -> JsonPretty<'a, T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a, S> Display for JsonPretty<'a, S>where
S: Serialize,
impl<'a, S> Display for JsonPretty<'a, S>where
S: Serialize,
sourceimpl<'a, D> Render for JsonPretty<'a, D>where
D: Serialize,
impl<'a, D> Render for JsonPretty<'a, D>where
D: Serialize,
impl<'a, T> Copy for JsonPretty<'a, T>
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for JsonPretty<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for JsonPretty<'a, T>where
T: Sync,
impl<'a, T> Sync for JsonPretty<'a, T>where
T: Sync,
impl<'a, T> Unpin for JsonPretty<'a, T>
impl<'a, T> UnwindSafe for JsonPretty<'a, T>where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<S> AsJsonPretty for S
impl<S> AsJsonPretty for S
fn __as_json_pretty(&self) -> JsonPretty<'_, S>
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more