Enum croncat_sdk_manager::msg::ManagerQueryMsg
source · pub enum ManagerQueryMsg {
Config {},
Paused {},
TreasuryBalance {},
UsersBalances {
address: String,
from_index: Option<u64>,
limit: Option<u64>,
},
TaskBalance {
task_hash: String,
},
AgentRewards {
agent_id: String,
},
}Variants§
Config
Fields
Gets current croncat config
Paused
Fields
Helper for query responses on versioned contracts
TreasuryBalance
Fields
Gets manager available balances
UsersBalances
Gets Cw20 balances of the given wallet address
TaskBalance
Get task balance
AgentRewards
Trait Implementations§
source§impl Clone for ManagerQueryMsg
impl Clone for ManagerQueryMsg
source§fn clone(&self) -> ManagerQueryMsg
fn clone(&self) -> ManagerQueryMsg
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 ManagerQueryMsg
impl Debug for ManagerQueryMsg
source§impl<'de> Deserialize<'de> for ManagerQueryMsg
impl<'de> Deserialize<'de> for ManagerQueryMsg
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 JsonSchema for ManagerQueryMsg
impl JsonSchema for ManagerQueryMsg
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. 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 PartialEq<ManagerQueryMsg> for ManagerQueryMsg
impl PartialEq<ManagerQueryMsg> for ManagerQueryMsg
source§fn eq(&self, other: &ManagerQueryMsg) -> bool
fn eq(&self, other: &ManagerQueryMsg) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl QueryResponses for ManagerQueryMsg
impl QueryResponses for ManagerQueryMsg
fn response_schemas_impl() -> BTreeMap<String, RootSchema>
fn response_schemas( ) -> Result<BTreeMap<String, RootSchema, Global>, IntegrityError>
source§impl Serialize for ManagerQueryMsg
impl Serialize for ManagerQueryMsg
impl StructuralPartialEq for ManagerQueryMsg
Auto Trait Implementations§
impl RefUnwindSafe for ManagerQueryMsg
impl Send for ManagerQueryMsg
impl Sync for ManagerQueryMsg
impl Unpin for ManagerQueryMsg
impl UnwindSafe for ManagerQueryMsg
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