pub trait WithId {
    // Required method
    fn with_id(id: &str) -> Self;
}
Expand description

An object that can be assigned an identifier.

Required Methods§

source

fn with_id(id: &str) -> Self

Set an identifier and returns the object.

Implementors§