Struct test_harness::TestValidator
source · pub struct TestValidator {
pub address: Address,
pub keystore: Options,
pub sentry_config: EnvConfig,
pub sentry_url: ApiUrl,
pub config: Config,
pub sentry_logger_prefix: String,
pub worker_logger_prefix: String,
pub db_name: String,
}
Fields
address: Address
keystore: Options
sentry_config: EnvConfig
sentry_url: ApiUrl
Sentry REST API url
config: Config
Used for the Sentry REST API [sentry::Application
] as well as the Validator worker [validator_worker::Worker
]
sentry_logger_prefix: String
Prefix for sentry logger
worker_logger_prefix: String
Prefix for validator worker logger
db_name: String
Postgres DB name The rest of the Postgres values are taken from env. variables
Trait Implementations
sourceimpl Clone for TestValidator
impl Clone for TestValidator
sourcefn clone(&self) -> TestValidator
fn clone(&self) -> TestValidator
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for TestValidator
impl Send for TestValidator
impl Sync for TestValidator
impl Unpin for TestValidator
impl UnwindSafe for TestValidator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more