pub enum QueryMsg {
Config {},
State {},
PendingBatch {},
PreviousBatch(u64),
PreviousBatches {
start_after: Option<u64>,
limit: Option<u32>,
},
UnbondRequestsByBatch {
id: u64,
start_after: Option<String>,
limit: Option<u32>,
},
UnbondRequestsByUser {
user: String,
start_after: Option<u64>,
limit: Option<u32>,
},
}
Variants§
Config
The contract’s configurations. Response: ConfigResponse
State
The contract’s current state. Response: StateResponse
PendingBatch
The current batch on unbonding requests pending submission. Response: PendingBatch
PreviousBatch(u64)
Query an individual batch that has previously been submitted for unbonding but have not yet
fully withdrawn. Response: Batch
PreviousBatches
Enumerate all previous batches that have previously been submitted for unbonding but have
not yet fully withdrawn. Response: Vec<Batch>
UnbondRequestsByBatch
Enumerate all outstanding unbonding requests in a given batch. Response:
Vec<UnbondRequestsResponseByBatchItem>
UnbondRequestsByUser
Enumerate all outstanding unbonding requests from given a user. Response:
Vec<UnbondRequestsByUserResponseItem>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for QueryMsg
impl<'de> Deserialize<'de> for QueryMsg
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 QueryMsg
impl JsonSchema for QueryMsg
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 moreimpl Eq for QueryMsg
impl StructuralPartialEq for QueryMsg
Auto Trait Implementations§
impl Freeze for QueryMsg
impl RefUnwindSafe for QueryMsg
impl Send for QueryMsg
impl Sync for QueryMsg
impl Unpin for QueryMsg
impl UnwindSafe for QueryMsg
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