Struct cosmwasm_std::IbcTimeoutBlock
source · 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
sourceimpl Clone for IbcTimeoutBlock
impl Clone for IbcTimeoutBlock
sourcefn clone(&self) -> IbcTimeoutBlock
fn clone(&self) -> IbcTimeoutBlock
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 moresourceimpl Debug for IbcTimeoutBlock
impl Debug for IbcTimeoutBlock
sourceimpl<'de> Deserialize<'de> for IbcTimeoutBlock
impl<'de> Deserialize<'de> for IbcTimeoutBlock
sourcefn 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
sourceimpl From<IbcTimeoutBlock> for IbcTimeout
impl From<IbcTimeoutBlock> for IbcTimeout
sourcefn from(original: IbcTimeoutBlock) -> IbcTimeout
fn from(original: IbcTimeoutBlock) -> IbcTimeout
Converts to this type from the input type.
sourceimpl JsonSchema for IbcTimeoutBlock
impl JsonSchema for IbcTimeoutBlock
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn 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 moresourceimpl Ord for IbcTimeoutBlock
impl Ord for IbcTimeoutBlock
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<IbcTimeoutBlock> for IbcTimeoutBlock
impl PartialEq<IbcTimeoutBlock> for IbcTimeoutBlock
sourcefn eq(&self, other: &IbcTimeoutBlock) -> bool
fn eq(&self, other: &IbcTimeoutBlock) -> bool
sourceimpl PartialOrd<IbcTimeoutBlock> for IbcTimeoutBlock
impl PartialOrd<IbcTimeoutBlock> for IbcTimeoutBlock
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Serialize for IbcTimeoutBlock
impl Serialize for IbcTimeoutBlock
impl Copy for IbcTimeoutBlock
impl Eq for IbcTimeoutBlock
impl StructuralEq for IbcTimeoutBlock
impl StructuralPartialEq for IbcTimeoutBlock
Auto Trait Implementations
impl RefUnwindSafe for IbcTimeoutBlock
impl Send for IbcTimeoutBlock
impl Sync for IbcTimeoutBlock
impl Unpin for IbcTimeoutBlock
impl UnwindSafe for IbcTimeoutBlock
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