Trait scsys_core::prelude::Identify

source ·
pub trait Identify {
    type Id: Identifier;

    // Required method
    fn id(&self) -> &Self::Id;
}

Required Associated Types§

Required Methods§

source

fn id(&self) -> &Self::Id

Implementors§

source§

impl<S> Identify for S
where S: Identifier,

§

type Id = S