pub struct ConfigResource {
    pub specifier: OwnedResourceSpecifier,
    pub entries: Vec<ConfigEntry>,
}
Expand description

A configurable resource and its current configuration values.

Fields

specifier: OwnedResourceSpecifier

Identifies the resource.

entries: Vec<ConfigEntry>

The current configuration parameters.

Implementations

Builds a HashMap of configuration entries, keyed by configuration entry name.

Searches the configuration entries to find the named parameter.

For more efficient lookups, use entry_map to build a HashMap instead.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.