Skip to main content

Activates

Trait Activates 

Source
pub trait Activates: Aggregate {
    const IS_ACTIVE: Column<Self, bool> = _;

    // Provided methods
    fn activate(&mut self) { ... }
    fn deactivate(&mut self) { ... }
    fn is_active(&self) -> bool { ... }
}

Provided Associated Constants§

Source

const IS_ACTIVE: Column<Self, bool> = _

Provided Methods§

Source

fn activate(&mut self)

Source

fn deactivate(&mut self)

Source

fn is_active(&self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<A: Uses<Active>> Activates for A