Struct cosmwasm_std::IbcTimeoutBlock
source · pub struct IbcTimeoutBlock {
pub revision: u64,
pub height: u64,
}
Expand description
IBCTimeoutHeight Height is a monotonically increasing data type that can be compared against another Height for the purposes of updating and freezing clients. Ordering is (revision_number, timeout_height)
Fields§
§revision: u64
the version that the client is currently on (eg. after reseting the chain this could increment 1 as height drops to 0)
height: u64
block height after which the packet times out. the height within the given revision
Implementations§
Trait Implementations§
source§impl Clone for IbcTimeoutBlock
impl Clone for IbcTimeoutBlock
source§fn clone(&self) -> IbcTimeoutBlock
fn clone(&self) -> IbcTimeoutBlock
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 Debug for IbcTimeoutBlock
impl Debug for IbcTimeoutBlock
source§impl<'de> Deserialize<'de> for IbcTimeoutBlock
impl<'de> Deserialize<'de> for IbcTimeoutBlock
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
source§impl From<IbcTimeoutBlock> for IbcTimeout
impl From<IbcTimeoutBlock> for IbcTimeout
source§fn from(original: IbcTimeoutBlock) -> IbcTimeout
fn from(original: IbcTimeoutBlock) -> IbcTimeout
Converts to this type from the input type.
source§impl JsonSchema for IbcTimeoutBlock
impl JsonSchema for IbcTimeoutBlock
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl Ord for IbcTimeoutBlock
impl Ord for IbcTimeoutBlock
source§impl PartialEq<IbcTimeoutBlock> for IbcTimeoutBlock
impl PartialEq<IbcTimeoutBlock> for IbcTimeoutBlock
source§fn eq(&self, other: &IbcTimeoutBlock) -> bool
fn eq(&self, other: &IbcTimeoutBlock) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<IbcTimeoutBlock> for IbcTimeoutBlock
impl PartialOrd<IbcTimeoutBlock> for IbcTimeoutBlock
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more