pub struct TreasuryParameters {
pub max_grant_amount: u128,
pub min_proposal_threshold: u128,
pub grant_approval_quorum: u32,
}Expand description
Treasury parameters
Fields§
§max_grant_amount: u128Maximum grant amount per proposal
min_proposal_threshold: u128Minimum proposal threshold
grant_approval_quorum: u32Grant approval quorum (basis points)
Trait Implementations§
Source§impl Clone for TreasuryParameters
impl Clone for TreasuryParameters
Source§fn clone(&self) -> TreasuryParameters
fn clone(&self) -> TreasuryParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TreasuryParameters
impl Debug for TreasuryParameters
Source§impl Default for TreasuryParameters
impl Default for TreasuryParameters
Source§impl<'de> Deserialize<'de> for TreasuryParameters
impl<'de> Deserialize<'de> for TreasuryParameters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TreasuryParameters
Source§impl PartialEq for TreasuryParameters
impl PartialEq for TreasuryParameters
Source§fn eq(&self, other: &TreasuryParameters) -> bool
fn eq(&self, other: &TreasuryParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TreasuryParameters
impl Serialize for TreasuryParameters
impl StructuralPartialEq for TreasuryParameters
Auto Trait Implementations§
impl Freeze for TreasuryParameters
impl RefUnwindSafe for TreasuryParameters
impl Send for TreasuryParameters
impl Sync for TreasuryParameters
impl Unpin for TreasuryParameters
impl UnsafeUnpin for TreasuryParameters
impl UnwindSafe for TreasuryParameters
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