Struct mito_protocol::launchpad::LaunchpadConfigResponse
source · pub struct LaunchpadConfigResponse {Show 14 fields
pub project_owner: String,
pub ido_timestamps: Option<IdoTimestamps>,
pub hard_cap: Option<Uint128>,
pub use_whitelist: bool,
pub amm_launch_config: Option<AmmLaunchConfig>,
pub vesting_config: Option<VestingConfig>,
pub mito_treasury_address: String,
pub master_address: String,
pub target_usd_subscription_incl_vault: FPDecimal,
pub staked_to_subscription: BTreeMap<Uint128, Uint128>,
pub quote_price_set_once_before_start_in_seconds: u64,
pub quote_pyth_pricefeed_id: String,
pub quote_decimals: u8,
pub oracle_stale_time: u64,
}Fields§
§project_owner: String§ido_timestamps: Option<IdoTimestamps>§hard_cap: Option<Uint128>§use_whitelist: bool§amm_launch_config: Option<AmmLaunchConfig>§vesting_config: Option<VestingConfig>§mito_treasury_address: String§master_address: String§target_usd_subscription_incl_vault: FPDecimal§staked_to_subscription: BTreeMap<Uint128, Uint128>§quote_price_set_once_before_start_in_seconds: u64§quote_pyth_pricefeed_id: String§quote_decimals: u8§oracle_stale_time: u64Trait Implementations§
source§impl Clone for LaunchpadConfigResponse
impl Clone for LaunchpadConfigResponse
source§fn clone(&self) -> LaunchpadConfigResponse
fn clone(&self) -> LaunchpadConfigResponse
Returns a copy 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 Debug for LaunchpadConfigResponse
impl Debug for LaunchpadConfigResponse
source§impl<'de> Deserialize<'de> for LaunchpadConfigResponse
impl<'de> Deserialize<'de> for LaunchpadConfigResponse
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
source§impl JsonSchema for LaunchpadConfigResponse
impl JsonSchema for LaunchpadConfigResponse
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresource§impl PartialEq for LaunchpadConfigResponse
impl PartialEq for LaunchpadConfigResponse
source§fn eq(&self, other: &LaunchpadConfigResponse) -> bool
fn eq(&self, other: &LaunchpadConfigResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for LaunchpadConfigResponse
impl Serialize for LaunchpadConfigResponse
impl Eq for LaunchpadConfigResponse
impl StructuralPartialEq for LaunchpadConfigResponse
Auto Trait Implementations§
impl Freeze for LaunchpadConfigResponse
impl RefUnwindSafe for LaunchpadConfigResponse
impl Send for LaunchpadConfigResponse
impl Sync for LaunchpadConfigResponse
impl Unpin for LaunchpadConfigResponse
impl UnwindSafe for LaunchpadConfigResponse
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)