pub struct ConfigResponse {Show 14 fields
pub owner: String,
pub new_owner: Option<String>,
pub steak_token: String,
pub epoch_period: u64,
pub unbond_period: u64,
pub denom: String,
pub fee_type: String,
pub fee_account: String,
pub fee_rate: Decimal,
pub max_fee_rate: Decimal,
pub validators: Vec<String>,
pub paused_validators: Vec<String>,
pub dust_collector: Option<String>,
pub token_factory: Option<String>,
}
Fields§
§owner: String
Account who can call certain privileged functions
new_owner: Option<String>
Pending ownership transfer, awaiting acceptance by the new owner
steak_token: String
Address of the Steak token
epoch_period: u64
How often the unbonding queue is to be executed, in seconds
unbond_period: u64
The staking module’s unbonding time, in seconds
denom: String
denomination of coins to steak (uXXXX)
fee_type: String
type of account to send the fees too
fee_account: String
Fee Account to send fees too
fee_rate: Decimal
Fee “1.00 = 100%”
max_fee_rate: Decimal
Max Fee “1.00 = 100%”
validators: Vec<String>
Set of validators who will receive the delegations
paused_validators: Vec<String>
§dust_collector: Option<String>
§token_factory: Option<String>
Trait Implementations§
Source§impl Clone for ConfigResponse
impl Clone for ConfigResponse
Source§fn clone(&self) -> ConfigResponse
fn clone(&self) -> ConfigResponse
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 ConfigResponse
impl Debug for ConfigResponse
Source§impl<'de> Deserialize<'de> for ConfigResponse
impl<'de> Deserialize<'de> for ConfigResponse
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 ConfigResponse
impl JsonSchema for ConfigResponse
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 ConfigResponse
impl PartialEq for ConfigResponse
Source§impl Serialize for ConfigResponse
impl Serialize for ConfigResponse
impl Eq for ConfigResponse
impl StructuralPartialEq for ConfigResponse
Auto Trait Implementations§
impl Freeze for ConfigResponse
impl RefUnwindSafe for ConfigResponse
impl Send for ConfigResponse
impl Sync for ConfigResponse
impl Unpin for ConfigResponse
impl UnwindSafe for ConfigResponse
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