pub fn as_str(self) -> &'static str {
        match self {
            Method::AbciInfo => "abci_info",
            Method::AbciQuery => "abci_query",
            Method::Block => "block",
            Method::BlockResults => "block_results",
            Method::BlockSearch => "block_search",
            Method::Blockchain => "blockchain",
            Method::BroadcastEvidence => "broadcast_evidence",
            Method::BroadcastTxAsync => "broadcast_tx_async",
            Method::BroadcastTxSync => "broadcast_tx_sync",
            Method::BroadcastTxCommit => "broadcast_tx_commit",
            Method::Commit => "commit",
            Method::ConsensusParams => "consensus_params",
            Method::ConsensusState => "consensus_state",
            Method::Genesis => "genesis",
            Method::Health => "health",
            Method::NetInfo => "net_info",
            Method::Status => "status",
            Method::Subscribe => "subscribe",
            Method::Tx => "tx",
            Method::TxSearch => "tx_search",
            Method::Unsubscribe => "unsubscribe",
            Method::Validators => "validators",
        }
    }
/// Get a static string which represents this method name
Get a static string which represents this method name
Get a static string which represents this method name
pub fn as_str(self) -> &'static str {
        match self {
            Method::AbciInfo => "abci_info",
            Method::AbciQuery => "abci_query",
            Method::Block => "block",
            Method::BlockResults => "block_results",
            Method::BlockSearch => "block_search",
            Method::Blockchain => "blockchain",
            Method::BroadcastEvidence => "broadcast_evidence",
            Method::BroadcastTxAsync => "broadcast_tx_async",
            Method::BroadcastTxSync => "broadcast_tx_sync",
            Method::BroadcastTxCommit => "broadcast_tx_commit",
            Method::Commit => "commit",
            Method::ConsensusParams => "consensus_params",
            Method::ConsensusState => "consensus_state",
            Method::Genesis => "genesis",
            Method::Health => "health",
            Method::NetInfo => "net_info",
            Method::Status => "status",
            Method::Subscribe => "subscribe",
            Method::Tx => "tx",
            Method::TxSearch => "tx_search",
            Method::Unsubscribe => "unsubscribe",
            Method::Validators => "validators",
        }
    }
pub fn as_str ( self ) -> & ' static str { match self { Method :: AbciInfo => " " , Method :: AbciQuery => " " , Method :: Block => " " , Method :: BlockResults => " " , Method :: BlockSearch => " " , Method :: Blockchain => " " , Method :: BroadcastEvidence => " " , Method :: BroadcastTxAsync => " " , Method :: BroadcastTxSync => " " , Method :: BroadcastTxCommit => " " , Method :: Commit => " " , Method :: ConsensusParams => " " , Method :: ConsensusState => " " , Method :: Genesis => " " , Method :: Health => " " , Method :: NetInfo => " " , Method :: Status => " " , Method :: Subscribe => " " , Method :: Tx => " " , Method :: TxSearch => " " , Method :: Unsubscribe => " " , Method :: Validators => " " , } }
Get a static string which represents this method name
Get a static string which represents this method name
self