pub struct ContractsConfig {
pub fitness_rules: Vec<FitnessRuleConfig>,
}Expand description
Contracts configuration for fitness rules and contract management
Fields§
§fitness_rules: Vec<FitnessRuleConfig>Fitness rules for contract validation
Trait Implementations§
Source§impl Clone for ContractsConfig
impl Clone for ContractsConfig
Source§fn clone(&self) -> ContractsConfig
fn clone(&self) -> ContractsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContractsConfig
impl Debug for ContractsConfig
Source§impl Default for ContractsConfig
impl Default for ContractsConfig
Source§fn default() -> ContractsConfig
fn default() -> ContractsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContractsConfigwhere
ContractsConfig: Default,
impl<'de> Deserialize<'de> for ContractsConfigwhere
ContractsConfig: Default,
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
Auto Trait Implementations§
impl Freeze for ContractsConfig
impl RefUnwindSafe for ContractsConfig
impl Send for ContractsConfig
impl Sync for ContractsConfig
impl Unpin for ContractsConfig
impl UnsafeUnpin for ContractsConfig
impl UnwindSafe for ContractsConfig
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