Skip to main content

Publishes

Trait Publishes 

Source
pub trait Publishes: Aggregate {
    const PUBLISHED_AT: Column<Self, Option<Instant>> = _;

    // Provided methods
    fn publish(&mut self) { ... }
    fn is_published(&self) -> bool { ... }
    fn published_at(&self) -> Option<Instant> { ... }
}

Provided Associated Constants§

Provided Methods§

Source

fn publish(&mut self)

Source

fn is_published(&self) -> bool

Source

fn published_at(&self) -> Option<Instant>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§