pub struct Config {Show 13 fields
pub owner: Addr,
pub fee_denom: String,
pub fee_collector: Addr,
pub warp_account_code_id: Uint64,
pub minimum_reward: Uint128,
pub creation_fee_percentage: Uint64,
pub cancellation_fee_percentage: Uint64,
pub resolver_address: Addr,
pub t_max: Uint64,
pub t_min: Uint64,
pub a_max: Uint128,
pub a_min: Uint128,
pub q_max: Uint64,
}
Fields§
§owner: Addr
§fee_denom: String
§fee_collector: Addr
§warp_account_code_id: Uint64
§minimum_reward: Uint128
§creation_fee_percentage: Uint64
§cancellation_fee_percentage: Uint64
§resolver_address: Addr
§t_max: Uint64
§t_min: Uint64
§a_max: Uint128
§a_min: Uint128
§q_max: Uint64
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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 Config
impl JsonSchema for Config
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 moreimpl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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