pub enum QueryMsg<T = Empty>{
AdminList {},
CanExecute {
sender: String,
msg: CosmosMsg<T>,
},
}Variants§
AdminList
Shows all admins and whether or not it is mutable
CanExecute
Checks permissions of the caller on this proxy.
If CanExecute returns true then a call to Execute with the same message,
before any further state changes, should also succeed.
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for QueryMsg<T>
impl<'de, T> Deserialize<'de> for QueryMsg<T>
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<QueryMsg<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<QueryMsg<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> JsonSchema for QueryMsg<T>
impl<T> JsonSchema for QueryMsg<T>
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
§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<T> PartialEq for QueryMsg<T>
impl<T> PartialEq for QueryMsg<T>
source§impl<T> QueryResponses for QueryMsg<T>
impl<T> QueryResponses for QueryMsg<T>
fn response_schemas_impl() -> BTreeMap<String, RootSchema>
fn response_schemas() -> Result<BTreeMap<String, RootSchema>, IntegrityError>
source§impl<T> Serialize for QueryMsg<T>
impl<T> Serialize for QueryMsg<T>
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<T> StructuralPartialEq for QueryMsg<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for QueryMsg<T>where
T: RefUnwindSafe,
impl<T> Send for QueryMsg<T>where
T: Send,
impl<T> Sync for QueryMsg<T>where
T: Sync,
impl<T> Unpin for QueryMsg<T>where
T: Unpin,
impl<T> UnwindSafe for QueryMsg<T>where
T: UnwindSafe,
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moresource§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