This commit is contained in:
hinto.janai 2024-11-26 19:48:28 -05:00
parent 916d593024
commit ff48fb4679
No known key found for this signature in database
GPG key ID: D47CE05FA175A499

View file

@ -31,7 +31,7 @@ use crate::rpc_handler::RpcHandler;
#[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] #[derive(Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cfg_attr(feature = "serde", derive(Deserialize, Serialize))] #[cfg_attr(feature = "serde", derive(Deserialize, Serialize))]
pub struct RpcHandlerDummy { pub struct RpcHandlerDummy {
/// Should this RPC server be [restricted](RpcHandler::restricted)? /// Should this RPC server be [restricted](RpcHandler::is_restricted)?
/// ///
/// The dummy will honor this [`bool`] /// The dummy will honor this [`bool`]
/// on restricted methods/endpoints. /// on restricted methods/endpoints.