Trait serde_mtproto::identifiable::Identifiable
[−]
[src]
pub trait Identifiable { fn get_id(&self) -> i32; fn get_enum_variant_id(&self) -> Option<&'static str>; }
Required Methods
fn get_id(&self) -> i32
fn get_enum_variant_id(&self) -> Option<&'static str>
Implementors
impl<'a, T: Identifiable> Identifiable for &'a T