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 more
sourceimpl 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
Performs the conversion.
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 more
sourceimpl Ord for IbcTimeoutBlock
impl Ord for IbcTimeoutBlock
sourceimpl PartialEq<IbcTimeoutBlock> for IbcTimeoutBlock
impl PartialEq<IbcTimeoutBlock> for IbcTimeoutBlock
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &IbcTimeoutBlock) -> bool
fn ne(&self, other: &IbcTimeoutBlock) -> bool
This method tests for !=
.
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>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
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 more
sourceimpl 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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more