Enum provwasm_std::AttributeMsgParams[][src]

pub enum AttributeMsgParams {
    AddAttribute {
        address: HumanAddr,
        name: String,
        value: Binary,
        value_type: AttributeValueType,
    },
    DeleteAttribute {
        name: String,
        address: HumanAddr,
    },
}

Input params for creating attribute module messages.

Variants

AddAttribute

Fields of AddAttribute

address: HumanAddrname: Stringvalue: Binaryvalue_type: AttributeValueType
DeleteAttribute

Fields of DeleteAttribute

name: Stringaddress: HumanAddr

Trait Implementations

impl Clone for AttributeMsgParams[src]

impl Debug for AttributeMsgParams[src]

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

impl From<AttributeMsgParams> for ProvenanceMsgParams[src]

A helper method to simplify creating messages.

impl JsonSchema for AttributeMsgParams[src]

impl PartialEq<AttributeMsgParams> for AttributeMsgParams[src]

impl Serialize for AttributeMsgParams[src]

impl StructuralPartialEq for AttributeMsgParams[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.