Skip to main content

ObjectId

Trait ObjectId 

Source
pub trait ObjectId {
    // Required methods
    fn id(&self) -> Option<Uuid>;
    fn set_id(&mut self, id: Uuid);
    fn username(&self) -> String;
}

Required Methods§

Source

fn id(&self) -> Option<Uuid>

Source

fn set_id(&mut self, id: Uuid)

Source

fn username(&self) -> String

Implementors§