[][src]Struct vostok_dao::config::Settings

pub struct Settings {
    pub deployer_id: AccountId,
    pub members: String,
    pub min_support: u32,
    pub min_duration: u32,
    pub max_duration: u32,
    pub min_bond: U128,
}

Contract settings

Fields

deployer_id: AccountIdmembers: Stringmin_support: u32min_duration: u32max_duration: u32min_bond: U128

Trait Implementations

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

impl Serialize for Settings[src]

Auto Trait Implementations

impl RefUnwindSafe for Settings[src]

impl Send for Settings[src]

impl Sync for Settings[src]

impl Unpin for Settings[src]

impl UnwindSafe for Settings[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.