pub trait NumberedItems: Default {
    type Item: DeserializeOwned + Serialize;

    const PREFIX: &'static str;

    // Provided methods
    fn key_matches(name: &str) -> bool { ... }
    fn check_key(name: &str) -> Option<u32> { ... }
    fn make_key(number: &u32) -> String { ... }
}

Required Associated Types§

Required Associated Constants§

source

const PREFIX: &'static str

Provided Methods§

source

fn key_matches(name: &str) -> bool

source

fn check_key(name: &str) -> Option<u32>

source

fn make_key(number: &u32) -> String

Object Safety§

This trait is not object safe.

Implementors§