Struct abstract_os::vesting::InstantiateMsg
source · pub struct InstantiateMsg {
pub owner: String,
pub refund_recipient: String,
pub token: String,
pub default_unlock_schedule: Schedule,
}Fields§
§owner: StringAccount which can create new allocations
refund_recipient: StringAccount which will receive refunds upon allocation terminations
token: StringAddress of tokens token
default_unlock_schedule: ScheduleBy default, unlocking starts at init, with a cliff of 12 months and a duration of 12 months. If not specified, all allocations use this default schedule
Trait Implementations§
source§impl Clone for InstantiateMsg
impl Clone for InstantiateMsg
source§fn clone(&self) -> InstantiateMsg
fn clone(&self) -> InstantiateMsg
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 InstantiateMsg
impl Debug for InstantiateMsg
source§impl<'de> Deserialize<'de> for InstantiateMsg
impl<'de> Deserialize<'de> for InstantiateMsg
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 InstantiateMsg
impl JsonSchema for InstantiateMsg
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. 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<InstantiateMsg> for InstantiateMsg
impl PartialEq<InstantiateMsg> for InstantiateMsg
source§fn eq(&self, other: &InstantiateMsg) -> bool
fn eq(&self, other: &InstantiateMsg) -> bool
This method tests for
self and other values to be equal, and is used
by ==.