pub fn result(result: serde_json::Value, id: u32) -> Self {
        Self {
            jsonrpc: SN_AUTHD_JSONRPC_VERSION.to_string(),
            result: Some(result),
            error: None,
            id: Some(id),
        }
    }
// Construct a JsonRpcResponse containing a successfull response
Construct a JsonRpcResponse containing a successfull response
Construct a JsonRpcResponse containing a successfull response
pub fn result(result: serde_json::Value, id: u32) -> Self {
        Self {
            jsonrpc: SN_AUTHD_JSONRPC_VERSION.to_string(),
            result: Some(result),
            error: None,
            id: Some(id),
        }
    }
pub fn result ( result : serde_json :: Value , id : u32 ) -> Self { Self { jsonrpc : SN_AUTHD_JSONRPC_VERSION . to_string ( ) , result : Some ( result ) , error : None , id : Some ( id ) , } }
Construct a JsonRpcResponse containing a successfull response
Construct a JsonRpcResponse containing a successfull response
result
serde_json::Value
id
u32