pub struct ResponseJson {
pub output: String,
}
Expand description
Needs to implement serde::Serialize
trait in order to use it as proper json Response object.
Fields§
§output: String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResponseJson
impl RefUnwindSafe for ResponseJson
impl Send for ResponseJson
impl Sync for ResponseJson
impl Unpin for ResponseJson
impl UnwindSafe for ResponseJson
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