pub trait IdDimension {
    // Required methods
    fn set_id(&mut self, id: &str) -> &mut Self;
    fn get_id(&self) -> Option<&String>;
}
Expand description

A trait to get or set id.

Required Methods§

source

fn set_id(&mut self, id: &str) -> &mut Self

Sets value as id.

source

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

Gets id value if present.

Object Safety§

This trait is not object safe.

Implementors§