pub enum AuthenticatedQueryResponse {
Allowance {
spender: HumanAddr,
owner: HumanAddr,
allowance: Uint128,
expiration: Option<u64>,
},
Balance {
amount: Uint128,
},
TransferHistory {
txs: Vec<Tx>,
total: Option<u64>,
},
TransactionHistory {
txs: Vec<RichTx>,
total: Option<u64>,
},
ViewingKeyError {
msg: String,
},
}
Expand description
enum used to screen for a ViewingKeyError response from an authenticated query
Variants
Allowance
Balance
Fields
amount: Uint128
TransferHistory
TransactionHistory
ViewingKeyError
Fields
msg: String
Trait Implementations
sourceimpl<'de> Deserialize<'de> for AuthenticatedQueryResponse
impl<'de> Deserialize<'de> for AuthenticatedQueryResponse
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for AuthenticatedQueryResponse
impl Send for AuthenticatedQueryResponse
impl Sync for AuthenticatedQueryResponse
impl Unpin for AuthenticatedQueryResponse
impl UnwindSafe for AuthenticatedQueryResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more