pub(crate) struct ParsedChainInfo {
pub channel_closure_grace_period: Duration,
pub domain_separators: DomainSeparators,
pub key_binding_fee: HoprBalance,
pub max_fee_per_gas: u128,
pub max_priority_fee_per_gas: u128,
pub info: ChainInfo,
pub ticket_win_prob: WinningProbability,
pub ticket_price: HoprBalance,
pub finality: u32,
pub expected_block_time: Duration,
}Fields§
§channel_closure_grace_period: Duration§domain_separators: DomainSeparators§key_binding_fee: HoprBalance§max_fee_per_gas: u128§max_priority_fee_per_gas: u128§info: ChainInfo§ticket_win_prob: WinningProbability§ticket_price: HoprBalance§finality: u32§expected_block_time: DurationTrait Implementations§
Source§impl Clone for ParsedChainInfo
impl Clone for ParsedChainInfo
Source§fn clone(&self) -> ParsedChainInfo
fn clone(&self) -> ParsedChainInfo
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 ParsedChainInfo
impl Debug for ParsedChainInfo
Source§impl From<ParsedChainInfo> for GasEstimation
impl From<ParsedChainInfo> for GasEstimation
Source§fn from(value: ParsedChainInfo) -> Self
fn from(value: ParsedChainInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParsedChainInfo
impl RefUnwindSafe for ParsedChainInfo
impl Send for ParsedChainInfo
impl Sync for ParsedChainInfo
impl Unpin for ParsedChainInfo
impl UnwindSafe for ParsedChainInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more