Struct croncat_sdk_manager::types::UpdateConfig
source · pub struct UpdateConfig {
pub owner_addr: Option<String>,
pub paused: Option<bool>,
pub agent_fee: Option<u64>,
pub treasury_fee: Option<u64>,
pub gas_price: Option<GasPrice>,
pub croncat_tasks_key: Option<(String, [u8; 2])>,
pub croncat_agents_key: Option<(String, [u8; 2])>,
pub treasury_addr: Option<String>,
pub cw20_whitelist: Option<Vec<String>>,
}Fields§
§owner_addr: Option<String>§paused: Option<bool>§agent_fee: Option<u64>§treasury_fee: Option<u64>§gas_price: Option<GasPrice>§croncat_tasks_key: Option<(String, [u8; 2])>§croncat_agents_key: Option<(String, [u8; 2])>§treasury_addr: Option<String>§cw20_whitelist: Option<Vec<String>>Add supported cw20s That’s seems unfair to undo support of cw20’s after user already created a task with it
Trait Implementations§
source§impl Clone for UpdateConfig
impl Clone for UpdateConfig
source§fn clone(&self) -> UpdateConfig
fn clone(&self) -> UpdateConfig
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 UpdateConfig
impl Debug for UpdateConfig
source§impl<'de> Deserialize<'de> for UpdateConfig
impl<'de> Deserialize<'de> for UpdateConfig
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 UpdateConfig
impl JsonSchema for UpdateConfig
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
§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<UpdateConfig> for UpdateConfig
impl PartialEq<UpdateConfig> for UpdateConfig
source§fn eq(&self, other: &UpdateConfig) -> bool
fn eq(&self, other: &UpdateConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.