pub struct JsonResponseFormatter {}Expand description
The JSON response formatter.
Trait Implementations§
Source§impl TextResponseFormatter<JsonResponse> for JsonResponseFormatter
impl TextResponseFormatter<JsonResponse> for JsonResponseFormatter
Source§fn format(raw_text: String) -> TextFormatResult<JsonResponse>
fn format(raw_text: String) -> TextFormatResult<JsonResponse>
Formats the response text to a specific type:
<T>.Auto Trait Implementations§
impl Freeze for JsonResponseFormatter
impl RefUnwindSafe for JsonResponseFormatter
impl Send for JsonResponseFormatter
impl Sync for JsonResponseFormatter
impl Unpin for JsonResponseFormatter
impl UnwindSafe for JsonResponseFormatter
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