UUIDd

Trait UUIDd 

Source
pub trait UUIDd {
    // Required methods
    fn uuid(&self) -> &Uuid;
    fn set_uuid(&mut self, u: Uuid);
}
Expand description

Something with a Uuid.

This trait can be used by things that should have a Uuid.

Required Methods§

Source

fn uuid(&self) -> &Uuid

Get the UUID of the object that implements this.

Source

fn set_uuid(&mut self, u: Uuid)

Set the UUID of the object that implements this.

§Arguments

Implementors§