Struct cfx_rpc_cfx_types::RpcImplConfiguration
source · pub struct RpcImplConfiguration {
pub get_logs_filter_max_limit: Option<usize>,
pub dev_pack_tx_immediately: bool,
pub max_payload_bytes: usize,
pub max_estimation_gas_limit: Option<U256>,
pub enable_metrics: bool,
pub poll_lifetime_in_seconds: Option<u32>,
}
Fields§
§get_logs_filter_max_limit: Option<usize>
§dev_pack_tx_immediately: bool
If it’s true
, DEFERRED_STATE_EPOCH_COUNT
blocks are generated after
receiving a new tx through RPC calling to pack and execute this
transaction.
max_payload_bytes: usize
§max_estimation_gas_limit: Option<U256>
§enable_metrics: bool
§poll_lifetime_in_seconds: Option<u32>
Trait Implementations§
source§impl Clone for RpcImplConfiguration
impl Clone for RpcImplConfiguration
source§fn clone(&self) -> RpcImplConfiguration
fn clone(&self) -> RpcImplConfiguration
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 Debug for RpcImplConfiguration
impl Debug for RpcImplConfiguration
source§impl Default for RpcImplConfiguration
impl Default for RpcImplConfiguration
source§fn default() -> RpcImplConfiguration
fn default() -> RpcImplConfiguration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RpcImplConfiguration
impl Send for RpcImplConfiguration
impl Sync for RpcImplConfiguration
impl Unpin for RpcImplConfiguration
impl UnwindSafe for RpcImplConfiguration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more