Trait spicedb_rust::Entity

source ·
pub trait Entity {
    type Relations: Relation;
    type Id: FromStr + Into<String>;

    // Required method
    fn object_type() -> &'static str;
}

Required Associated Types§

Required Methods§

source

fn object_type() -> &'static str

Object Safety§

This trait is not object safe.

Implementors§