Trait medal::db_objects::HasId

source ·
pub trait HasId {
    // Required methods
    fn get_id(&self) -> Option<i32>;
    fn set_id(&mut self, id: i32);
}

Required Methods§

source

fn get_id(&self) -> Option<i32>

source

fn set_id(&mut self, id: i32)

Implementors§