pub struct MsgRegisterInterchainQuery {
pub query_type: String,
pub keys: Vec<KvKey>,
pub transactions_filter: String,
pub connection_id: String,
pub update_period: u64,
pub sender: String,
}Expand description
Request type for the Msg/RegisterInterchainQuery RPC method.
Fields§
§query_type: StringThe query type identifier: kv or tx.
keys: Vec<KvKey>The KV-storage keys for which we want to get values from remote chain. Only applicable for the
KV Interchain Queries. Max amount of keys is limited by the module’s max_kv_query_keys_count
parameters.
transactions_filter: StringA stringified list of filters for remote transactions search. Only applicable for the TX
Interchain Queries. Example: “[{"field":"tx.height","op":"Gte","value":2644737}]”.
Supported operators: “eq”, “lt”, “gt”, “lte”, “gte”. Max amount of filter conditions is
limited by the module’s max_transactions_filters parameters.
connection_id: StringThe IBC connection ID to the remote chain (the source of querying data). Is used for getting ConsensusState from the respective IBC client to verify query result proofs.
update_period: u64Parameter that defines the minimal delay between consecutive query executions (i.e. the minimal delay between query results update).
sender: StringThe signer of the message.
Implementations§
Trait Implementations§
Source§impl Clone for MsgRegisterInterchainQuery
impl Clone for MsgRegisterInterchainQuery
Source§fn clone(&self) -> MsgRegisterInterchainQuery
fn clone(&self) -> MsgRegisterInterchainQuery
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MsgRegisterInterchainQuery
impl Debug for MsgRegisterInterchainQuery
Source§impl Default for MsgRegisterInterchainQuery
impl Default for MsgRegisterInterchainQuery
Source§impl<'de> Deserialize<'de> for MsgRegisterInterchainQuery
impl<'de> Deserialize<'de> for MsgRegisterInterchainQuery
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>,
Source§impl From<MsgRegisterInterchainQuery> for Binary
impl From<MsgRegisterInterchainQuery> for Binary
Source§fn from(msg: MsgRegisterInterchainQuery) -> Self
fn from(msg: MsgRegisterInterchainQuery) -> Self
Source§impl<T> From<MsgRegisterInterchainQuery> for CosmosMsg<T>
impl<T> From<MsgRegisterInterchainQuery> for CosmosMsg<T>
Source§fn from(msg: MsgRegisterInterchainQuery) -> Self
fn from(msg: MsgRegisterInterchainQuery) -> Self
Source§impl JsonSchema for MsgRegisterInterchainQuery
impl JsonSchema for MsgRegisterInterchainQuery
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreSource§impl Message for MsgRegisterInterchainQuery
impl Message for MsgRegisterInterchainQuery
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self.Source§impl TryFrom<Binary> for MsgRegisterInterchainQuery
impl TryFrom<Binary> for MsgRegisterInterchainQuery
impl Eq for MsgRegisterInterchainQuery
impl StructuralPartialEq for MsgRegisterInterchainQuery
Auto Trait Implementations§
impl Freeze for MsgRegisterInterchainQuery
impl RefUnwindSafe for MsgRegisterInterchainQuery
impl Send for MsgRegisterInterchainQuery
impl Sync for MsgRegisterInterchainQuery
impl Unpin for MsgRegisterInterchainQuery
impl UnwindSafe for MsgRegisterInterchainQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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>
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>
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