pub struct InitialDistribution {
pub treasury: u128,
pub team: u128,
pub investors: u128,
pub community: u128,
pub provider_incentives: u128,
pub liquidity: u128,
}Expand description
Initial token distribution
Fields§
§treasury: u128Treasury allocation
team: u128Team allocation
investors: u128Investors allocation
community: u128Community allocation
provider_incentives: u128Provider incentives
liquidity: u128Liquidity pool
Trait Implementations§
Source§impl Clone for InitialDistribution
impl Clone for InitialDistribution
Source§fn clone(&self) -> InitialDistribution
fn clone(&self) -> InitialDistribution
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 InitialDistribution
impl Debug for InitialDistribution
Source§impl Default for InitialDistribution
impl Default for InitialDistribution
Source§impl<'de> Deserialize<'de> for InitialDistribution
impl<'de> Deserialize<'de> for InitialDistribution
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 InitialDistribution
Source§impl PartialEq for InitialDistribution
impl PartialEq for InitialDistribution
Source§fn eq(&self, other: &InitialDistribution) -> bool
fn eq(&self, other: &InitialDistribution) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InitialDistribution
impl Serialize for InitialDistribution
impl StructuralPartialEq for InitialDistribution
Auto Trait Implementations§
impl Freeze for InitialDistribution
impl RefUnwindSafe for InitialDistribution
impl Send for InitialDistribution
impl Sync for InitialDistribution
impl Unpin for InitialDistribution
impl UnsafeUnpin for InitialDistribution
impl UnwindSafe for InitialDistribution
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