[][src]Struct cw3::ProposalResponse

pub struct ProposalResponse<T = Empty> where
    T: Clone + Debug + PartialEq + JsonSchema
{ pub id: u64, pub title: String, pub description: String, pub msgs: Vec<CosmosMsg<T>>, pub expires: Expiration, pub status: Status, }

Note, if you are storing custom messages in the proposal, the querier needs to know what possible custom message types those are in order to parse the response

Fields

id: u64title: Stringdescription: Stringmsgs: Vec<CosmosMsg<T>>expires: Expirationstatus: Status

Trait Implementations

impl<T: Clone> Clone for ProposalResponse<T> where
    T: Clone + Debug + PartialEq + JsonSchema
[src]

impl<T: Debug> Debug for ProposalResponse<T> where
    T: Clone + Debug + PartialEq + JsonSchema
[src]

impl<'de, T> Deserialize<'de> for ProposalResponse<T> where
    T: Clone + Debug + PartialEq + JsonSchema,
    T: Deserialize<'de>, 
[src]

impl<T: JsonSchema> JsonSchema for ProposalResponse<T> where
    T: Clone + Debug + PartialEq + JsonSchema
[src]

impl<T: PartialEq> PartialEq<ProposalResponse<T>> for ProposalResponse<T> where
    T: Clone + Debug + PartialEq + JsonSchema
[src]

impl<T> Serialize for ProposalResponse<T> where
    T: Clone + Debug + PartialEq + JsonSchema,
    T: Serialize
[src]

impl<T> StructuralPartialEq for ProposalResponse<T> where
    T: Clone + Debug + PartialEq + JsonSchema
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ProposalResponse<T> where
    T: RefUnwindSafe

impl<T> Send for ProposalResponse<T> where
    T: Send

impl<T> Sync for ProposalResponse<T> where
    T: Sync

impl<T> Unpin for ProposalResponse<T> where
    T: Unpin

impl<T> UnwindSafe for ProposalResponse<T> where
    T: UnwindSafe

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.