Skip to main content

HasProperties

Trait HasProperties 

Source
pub trait HasProperties {
    // Required method
    fn properties(&self) -> Map<String, Value>;
}
Expand description

A trait for types that have properties.

Required Methods§

Source

fn properties(&self) -> Map<String, Value>

Get the properties of the HasProperties.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§