Skip to main content

RewardsEnabled

Trait RewardsEnabled 

Source
pub trait RewardsEnabled {
    // Required method
    fn rewards_enabled() -> bool;
}
Expand description

A trait for determining whether rewards are enabled or not

Required Methods§

Source

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".

Implementors§