pub struct WireResponse {
pub id: String,
pub result: Value,
}Expand description
A response to be sent back to the agent.
Fields§
§id: StringThe JSON-RPC request id this response answers.
result: ValueThe JSON-RPC result payload.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WireResponse
impl RefUnwindSafe for WireResponse
impl Send for WireResponse
impl Sync for WireResponse
impl Unpin for WireResponse
impl UnsafeUnpin for WireResponse
impl UnwindSafe for WireResponse
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