Struct exonum::node::NodeApiConfig
[−]
[src]
pub struct NodeApiConfig {
pub state_update_timeout: usize,
pub enable_blockchain_explorer: bool,
pub public_api_address: Option<SocketAddr>,
pub private_api_address: Option<SocketAddr>,
}An api configuration options.
Fields
state_update_timeout: usize
Timeout to update api state.
enable_blockchain_explorer: bool
Enable api endpoints for the blockchain_explorer on public api address.
public_api_address: Option<SocketAddr>
Listen address for public api endpoints.
private_api_address: Option<SocketAddr>
Listen address for private api endpoints.
Trait Implementations
impl Clone for NodeApiConfig[src]
fn clone(&self) -> NodeApiConfig[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for NodeApiConfig[src]
impl Default for NodeApiConfig[src]
fn default() -> NodeApiConfig[src]
Returns the "default value" for a type. Read more