pub type ExchangeCapabilitiesRequest = Vec<String>;Aliased Type§
pub struct ExchangeCapabilitiesRequest { /* private fields */ }Trait Implementations§
Source§impl RpcHandler for ExchangeCapabilitiesRequest
impl RpcHandler for ExchangeCapabilitiesRequest
Source§fn parse(params: &Option<Vec<Value>>) -> Result<Self, RpcErr>
fn parse(params: &Option<Vec<Value>>) -> Result<Self, RpcErr>
Parse JSON-RPC parameters into the handler struct. Read more
Source§async fn handle(&self, _context: RpcApiContext) -> Result<Value, RpcErr>
async fn handle(&self, _context: RpcApiContext) -> Result<Value, RpcErr>
Handle the RPC request and return a JSON response. Read more
Source§async fn call(req: &RpcRequest, context: RpcApiContext) -> Result<Value, RpcErr>
async fn call(req: &RpcRequest, context: RpcApiContext) -> Result<Value, RpcErr>
Entry point for handling an RPC request. Read more