Trait just_orm::Identifiable

source ·
pub trait Identifiable {
    // Required method
    fn get_id(&self) -> String;
}
Expand description

A trait for types that have an ID.

Required Methods§

source

fn get_id(&self) -> String

Returns the ID of the object.

Implementors§