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,
}Fields§
§query_type: Stringdefines a query type: kv or tx now
keys: Vec<KvKey>is used to define KV-storage keys for which we want to get values from remote chain
transactions_filter: Stringis used to define a filter for transaction search ICQ
connection_id: Stringis IBC connection ID for getting ConsensusState to verify proofs
update_period: u64is used to specify how often (in neutron blocks) the query must be updated
sender: Stringis the 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
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 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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<MsgRegisterInterchainQuery> for Binary
impl From<MsgRegisterInterchainQuery> for Binary
source§fn from(msg: MsgRegisterInterchainQuery) -> Self
fn from(msg: MsgRegisterInterchainQuery) -> Self
Converts to this type from the input type.
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
Converts to this type from the input type.
source§impl JsonSchema for MsgRegisterInterchainQuery
impl JsonSchema for MsgRegisterInterchainQuery
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. 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 Message for MsgRegisterInterchainQuery
impl Message for MsgRegisterInterchainQuery
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
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>
Decodes a length-delimited instance of the message from buffer, and
merges it into
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
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