[−][src]Struct vostok_dao::proposal::ProposalOut
JSON compatible return type for Proposal.
Fields
action: Actiondescription: Stringvoting_start: U64block number when voting started
voting_end: U64voting duration in number of blocks
votes_for: u32votes_against: u32execute_before: U64executed: boolTrait Implementations
impl<'de> Deserialize<'de> for ProposalOut[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl From<Proposal> for ProposalOut[src]
fn from(p: Proposal) -> ProposalOut[src]
impl Serialize for ProposalOut[src]
Auto Trait Implementations
impl RefUnwindSafe for ProposalOut[src]
impl Send for ProposalOut[src]
impl Sync for ProposalOut[src]
impl Unpin for ProposalOut[src]
impl UnwindSafe for ProposalOut[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,