Skip to main content

ItemId

Trait ItemId 

Source
pub trait ItemId: PaperlessId {
    // Required method
    fn endpoint() -> &'static str;
}
Expand description

Trait for all Paperless IDs which can be treated as items.

Required Methods§

Source

fn endpoint() -> &'static str

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§