pub struct CroncatQuery {
pub contract_addr: String,
pub msg: Binary,
pub check_result: bool,
}
Expand description
Query given module contract with a message
Fields§
§contract_addr: String
This is address of the queried module contract. For the addr can use one of our croncat-mod-* contracts, or custom contracts
msg: Binary
§check_result: bool
For queries with check_result
: query return value should be formatted as a:
QueryResponse
Trait Implementations§
Source§impl Clone for CroncatQuery
impl Clone for CroncatQuery
Source§fn clone(&self) -> CroncatQuery
fn clone(&self) -> CroncatQuery
Returns a duplicate 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 CroncatQuery
impl Debug for CroncatQuery
Source§impl<'de> Deserialize<'de> for CroncatQuery
impl<'de> Deserialize<'de> for CroncatQuery
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CroncatQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CroncatQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for CroncatQuery
impl JsonSchema for CroncatQuery
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 PartialEq for CroncatQuery
impl PartialEq for CroncatQuery
Source§impl Serialize for CroncatQuery
impl Serialize for CroncatQuery
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for CroncatQuery
Auto Trait Implementations§
impl Freeze for CroncatQuery
impl RefUnwindSafe for CroncatQuery
impl Send for CroncatQuery
impl Sync for CroncatQuery
impl Unpin for CroncatQuery
impl UnwindSafe for CroncatQuery
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