Skip to main content

Attribute

Trait Attribute 

Source
pub trait Attribute: Send + Sync {
    // Required method
    fn resolve(&self, attribute: &str) -> Result<String>;
}
Expand description

Maps an attribute name to the column it is stored in.

PHP: Utopia\Query\Hook\Attribute.

Required Methods§

Source

fn resolve(&self, attribute: &str) -> Result<String>

The column for attribute.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§