Struct ibc_testkit::fixtures::clients::tendermint::ClientStateConfig
source · pub struct ClientStateConfig {
pub chain_id: ChainId,
pub trust_level: TrustThreshold,
pub trusting_period: Duration,
pub unbonding_period: Duration,
pub latest_height: Height,
pub proof_specs: ProofSpecs,
pub upgrade_path: Vec<String>,
/* private fields */
}Fields§
§chain_id: ChainId§trust_level: TrustThreshold§trusting_period: Duration§unbonding_period: Duration§latest_height: Height§proof_specs: ProofSpecs§upgrade_path: Vec<String>Implementations§
source§impl ClientStateConfig
impl ClientStateConfig
sourcepub fn builder(
) -> ClientStateConfigBuilder<((), (), (), (), (), (), (), (), ())>
pub fn builder( ) -> ClientStateConfigBuilder<((), (), (), (), (), (), (), (), ())>
Create a builder for building ClientStateConfig.
On the builder, call .chain_id(...), .trust_level(...)(optional), .trusting_period(...)(optional), .unbonding_period(...)(optional), .max_clock_drift(...)(optional), .latest_height(...), .proof_specs(...)(optional), .upgrade_path(...)(optional), .allow_update(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of ClientStateConfig.
Trait Implementations§
source§impl Debug for ClientStateConfig
impl Debug for ClientStateConfig
Auto Trait Implementations§
impl RefUnwindSafe for ClientStateConfig
impl Send for ClientStateConfig
impl Sync for ClientStateConfig
impl Unpin for ClientStateConfig
impl UnwindSafe for ClientStateConfig
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