Struct concordium_std::test_infrastructure::TestChainMeta
source · pub struct TestChainMeta { /* private fields */ }
Expand description
Placeholder for the context chain meta data.
All the fields are optionally set and the getting an unset field will result
in test failing.
For most cases it is used as part of either
TestInitContext
or
TestReceiveContext
.
Use only in unit tests!
Defaults to having all of the fields unset
Implementations§
source§impl TestChainMeta
impl TestChainMeta
Trait Implementations§
source§impl Clone for TestChainMeta
impl Clone for TestChainMeta
source§fn clone(&self) -> TestChainMeta
fn clone(&self) -> TestChainMeta
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 Default for TestChainMeta
impl Default for TestChainMeta
source§fn default() -> TestChainMeta
fn default() -> TestChainMeta
Returns the “default value” for a type. Read more