Struct clightningrpc_plugin::commands::types::RPCMethodInfo
source · pub struct RPCMethodInfo {
pub name: String,
pub usage: String,
pub description: String,
pub long_description: String,
pub deprecated: bool,
}Expand description
Type to define metadata for custom RPC Methods
Fields§
§name: String§usage: String§description: String§long_description: String§deprecated: boolTrait Implementations§
source§impl Clone for RPCMethodInfo
impl Clone for RPCMethodInfo
source§fn clone(&self) -> RPCMethodInfo
fn clone(&self) -> RPCMethodInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Hash for RPCMethodInfo
impl Hash for RPCMethodInfo
source§impl PartialEq<RPCMethodInfo> for RPCMethodInfo
impl PartialEq<RPCMethodInfo> for RPCMethodInfo
source§fn eq(&self, other: &RPCMethodInfo) -> bool
fn eq(&self, other: &RPCMethodInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.