pub struct ProposalViewResult<M>where
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: bool
Trait Implementations§
Source§impl<M> Clone for ProposalViewResult<M>where
M: Clone + ManagedTypeApi,
impl<M> Clone for ProposalViewResult<M>where
M: Clone + ManagedTypeApi,
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 for ProposalViewResult<M>where
M: Debug + ManagedTypeApi,
impl<M> Debug for ProposalViewResult<M>where
M: Debug + ManagedTypeApi,
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<ProposalViewResult<M>, <H as DecodeErrorHandler>::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> 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
Source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more