[][src]Struct vostok_dao::proposal::Voter

pub struct Voter {
    pub account: AccountId,
    pub power: u16,
}

Fields

account: AccountIdpower: u16

voting power, must be in [1...10000]

Trait Implementations

impl BorshDeserialize for Voter where
    AccountId: BorshDeserialize,
    u16: BorshDeserialize
[src]

impl BorshSerialize for Voter where
    AccountId: BorshSerialize,
    u16: BorshSerialize
[src]

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

impl Serialize for Voter[src]

Auto Trait Implementations

impl RefUnwindSafe for Voter[src]

impl Send for Voter[src]

impl Sync for Voter[src]

impl Unpin for Voter[src]

impl UnwindSafe for Voter[src]

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> Same<T> for T[src]

type Output = T

Should always be Self

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.