Skip to main content

AsSubject

Trait AsSubject 

Source
pub trait AsSubject: Display {
    // Required method
    fn subject(&self) -> Subject<'_>;
}
Expand description

Extension trait for types that can be used as a log subject.

Required Methods§

Source

fn subject(&self) -> Subject<'_>

Return a Subject for this ID.

Implementors§