pub struct ProposalViewResult<M: ManagedTypeApi> {}Fields§
§proposal_cost: BigUint<M>§commit_hash: String§proposal_nonce: u64§issuer_address: Address§start_vote_epoch: u64§end_vote_epoch: u64§quorum_stake: u64§yes: u64§no: u64§veto: u64§abstain: u64§closed: bool§passed: boolTrait Implementations§
Source§impl<M: Clone + ManagedTypeApi> Clone for ProposalViewResult<M>
impl<M: Clone + ManagedTypeApi> Clone for ProposalViewResult<M>
Source§fn clone(&self) -> ProposalViewResult<M>
fn clone(&self) -> ProposalViewResult<M>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<M: Debug + ManagedTypeApi> Debug for ProposalViewResult<M>
impl<M: Debug + ManagedTypeApi> Debug for ProposalViewResult<M>
Source§impl<M> TopDecodeMulti for ProposalViewResult<M>where
M: ManagedTypeApi,
impl<M> TopDecodeMulti for ProposalViewResult<M>where
M: ManagedTypeApi,
fn multi_decode_or_handle_err<I, H>(
input: &mut I,
h: H,
) -> Result<Self, H::HandledErr>where
I: TopDecodeMultiInput,
H: DecodeErrorHandler,
Source§const IS_SINGLE_VALUE: bool = false
const IS_SINGLE_VALUE: bool = false
Used to optimize single value loading of endpoint arguments.
fn multi_decode<I>(input: &mut I) -> Result<Self, DecodeError>where
I: TopDecodeMultiInput,
Auto Trait Implementations§
impl<M> Freeze for ProposalViewResult<M>
impl<M> RefUnwindSafe for ProposalViewResult<M>
impl<M> Send for ProposalViewResult<M>
impl<M> Sync for ProposalViewResult<M>
impl<M> Unpin for ProposalViewResult<M>
impl<M> UnsafeUnpin for ProposalViewResult<M>
impl<M> UnwindSafe for ProposalViewResult<M>
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