pub struct ContractState {
pub owner: Addr,
pub rewarding_validator_address: Addr,
pub vesting_contract_address: Addr,
pub rewarding_denom: String,
pub params: ContractStateParams,
}
Fields§
§owner: Addr
§rewarding_validator_address: Addr
§vesting_contract_address: Addr
Address of the vesting contract to which the mixnet contract would be sending all track-related messages.
rewarding_denom: String
§params: ContractStateParams
Trait Implementations§
source§impl Clone for ContractState
impl Clone for ContractState
source§fn clone(&self) -> ContractState
fn clone(&self) -> ContractState
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 ContractState
impl Debug for ContractState
source§impl<'de> Deserialize<'de> for ContractState
impl<'de> Deserialize<'de> for ContractState
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 ContractState
impl JsonSchema for ContractState
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<ContractState> for ContractState
impl PartialEq<ContractState> for ContractState
source§fn eq(&self, other: &ContractState) -> bool
fn eq(&self, other: &ContractState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ContractState
impl Serialize for ContractState
impl StructuralPartialEq for ContractState
Auto Trait Implementations§
impl RefUnwindSafe for ContractState
impl Send for ContractState
impl Sync for ContractState
impl Unpin for ContractState
impl UnwindSafe for ContractState
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