pub trait RewardsEnabled {
// Required method
fn rewards_enabled() -> bool;
}
Expand description
A trait for determining whether rewards are enabled or not
Required Methods§
sourcefn rewards_enabled() -> bool
fn rewards_enabled() -> bool
Determine whether rewards are enabled or not
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.