Struct jsonrpsee_core::client::RequestMessage
source · pub struct RequestMessage {
pub raw: String,
pub id: Id<'static>,
pub send_back: Option<Sender<Result<JsonValue, Error>>>,
}
Expand description
Request message.
Fields§
§raw: String
Serialized message.
id: Id<'static>
Request ID.
send_back: Option<Sender<Result<JsonValue, Error>>>
One-shot channel over which we send back the result of this request.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RequestMessage
impl Send for RequestMessage
impl Sync for RequestMessage
impl Unpin for RequestMessage
impl !UnwindSafe for RequestMessage
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