Struct diem_config::config::JsonRpcConfig [−][src]
pub struct JsonRpcConfig {
pub address: SocketAddr,
pub batch_size_limit: u16,
pub page_size_limit: u16,
pub content_length_limit: usize,
pub tls_cert_path: Option<String>,
pub tls_key_path: Option<String>,
}Fields
address: SocketAddrbatch_size_limit: u16page_size_limit: u16content_length_limit: usizetls_cert_path: Option<String>tls_key_path: Option<String>Implementations
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for JsonRpcConfig
impl Send for JsonRpcConfig
impl Sync for JsonRpcConfig
impl Unpin for JsonRpcConfig
impl UnwindSafe for JsonRpcConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self
Generates a hash used only for tests.