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§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthenticatedQueryResponse
impl<'de> Deserialize<'de> for AuthenticatedQueryResponse
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
Auto Trait Implementations§
impl Freeze for AuthenticatedQueryResponse
impl RefUnwindSafe for AuthenticatedQueryResponse
impl Send for AuthenticatedQueryResponse
impl Sync for AuthenticatedQueryResponse
impl Unpin for AuthenticatedQueryResponse
impl UnsafeUnpin for AuthenticatedQueryResponse
impl UnwindSafe for AuthenticatedQueryResponse
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