Skip to main content

Custom

Type Alias Custom 

Source
pub type Custom = CustomEntity;

Aliased Type§

pub struct Custom {
    pub kind: String,
    pub display_name: String,
    pub category: String,
    pub icon: String,
    pub attrs: Json,
}

Fields§

§kind: String

Canonical kind identifier (e.g. “database_pool”). snake_case, non-empty.

§display_name: String

Human-readable display name (e.g. “Database Pool”).

§category: String

Category for UI grouping (“async”/“sync”/“channel”/“rpc”/“net”/“fs”/“time”/“meta”).

§icon: String

Phosphor icon name (e.g. “Database”, “Cpu”). Empty string = default icon.

§attrs: Json

Arbitrary structured metadata as a JSON object string.