Enum provwasm_std::AttributeQueryParams[][src]

pub enum AttributeQueryParams {
    GetAttributes {
        address: HumanAddr,
        name: String,
    },
    GetAllAttributes {
        address: HumanAddr,
    },
}

Params for attribute queries.

Variants

GetAttributes

Fields of GetAttributes

address: HumanAddrname: String
GetAllAttributes

Fields of GetAllAttributes

address: HumanAddr

Trait Implementations

impl Clone for AttributeQueryParams[src]

impl Debug for AttributeQueryParams[src]

impl<'de> Deserialize<'de> for AttributeQueryParams[src]

impl From<AttributeQueryParams> for ProvenanceQueryParams[src]

A helper that wraps AttributeQueryParams in ProvenanceQueryParams.

impl JsonSchema for AttributeQueryParams[src]

impl PartialEq<AttributeQueryParams> for AttributeQueryParams[src]

impl Serialize for AttributeQueryParams[src]

impl StructuralPartialEq for AttributeQueryParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.