pub struct SimulatorConfig {
pub core_banking: CoreBankingConfig,
pub mapping_service: MappingServiceConfig,
pub rulepack_service: RulepackServiceConfig,
pub regulator_endpoint: RegulatorEndpointConfig,
}Expand description
Configuration for all simulators
Fields§
§core_banking: CoreBankingConfigCore Banking simulator configuration
mapping_service: MappingServiceConfigMapping Service simulator configuration
rulepack_service: RulepackServiceConfigRulepack Service simulator configuration
regulator_endpoint: RegulatorEndpointConfigRegulator Endpoint simulator configuration
Implementations§
Source§impl SimulatorConfig
impl SimulatorConfig
Sourcepub fn builder() -> SimulatorConfigBuilder
pub fn builder() -> SimulatorConfigBuilder
Create a new configuration builder
Sourcepub fn for_load_test() -> Self
pub fn for_load_test() -> Self
Create configuration for load testing (realistic latencies)
Trait Implementations§
Source§impl Clone for SimulatorConfig
impl Clone for SimulatorConfig
Source§fn clone(&self) -> SimulatorConfig
fn clone(&self) -> SimulatorConfig
Returns a duplicate 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 SimulatorConfig
impl Debug for SimulatorConfig
Source§impl Default for SimulatorConfig
impl Default for SimulatorConfig
Source§impl<'de> Deserialize<'de> for SimulatorConfig
impl<'de> Deserialize<'de> for SimulatorConfig
Source§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
Auto Trait Implementations§
impl Freeze for SimulatorConfig
impl RefUnwindSafe for SimulatorConfig
impl Send for SimulatorConfig
impl Sync for SimulatorConfig
impl Unpin for SimulatorConfig
impl UnsafeUnpin for SimulatorConfig
impl UnwindSafe for SimulatorConfig
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