Thanks to visit codestin.com
Credit goes to docs.rs

Skip to main content

Identifiable

Trait Identifiable 

Source
pub trait Identifiable {
    // Required methods
    fn get_id(&self) -> Option<&String>;
    fn set_id(&mut self, value: &str);
}

Required Methods§

Source

fn get_id(&self) -> Option<&String>

Source

fn set_id(&mut self, value: &str)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§