pub trait HasProperties {
// Required method
fn properties(&self) -> Map<String, Value>;
}Expand description
A trait for types that have properties.
Required Methods§
Sourcefn properties(&self) -> Map<String, Value>
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".