Skip to main content

Extra

Trait Extra 

Source
pub trait Extra {
    // Required methods
    fn insert_extra(&mut self, key: String, value: Value) -> Option<Value>;
    fn get_extra(&mut self, key: &str) -> Option<&Value>;
    fn remove_extra(&mut self, key: &str) -> Option<Value>;
}

Required Methods§

Source

fn insert_extra(&mut self, key: String, value: Value) -> Option<Value>

Source

fn get_extra(&mut self, key: &str) -> Option<&Value>

Source

fn remove_extra(&mut self, key: &str) -> Option<Value>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§