Struct rings_rpc::jsonrpc_client::client::CallMessage
source · pub struct CallMessage {
pub method: String,
pub params: Params,
}
Expand description
An RPC call message.
Fields§
§method: String
The RPC method name.
params: Params
The RPC method parameters.
Trait Implementations§
source§impl From<CallMessage> for RpcMessage
impl From<CallMessage> for RpcMessage
source§fn from(msg: CallMessage) -> Self
fn from(msg: CallMessage) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CallMessage
impl Send for CallMessage
impl Sync for CallMessage
impl Unpin for CallMessage
impl UnwindSafe for CallMessage
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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