pub struct ConfigEntry {
    pub name: String,
    pub value: Option<String>,
    pub source: ConfigSource,
    pub is_read_only: bool,
    pub is_default: bool,
    pub is_sensitive: bool,
}
Expand description

An individual configuration parameter for a ConfigResource.

Fields

name: String

The name of the configuration parameter.

value: Option<String>

The value of the configuration parameter.

source: ConfigSource

The source of the configuration parameter.

is_read_only: bool

Whether the configuration parameter is read only.

is_default: bool

Whether the configuration parameter currently has the default value.

is_sensitive: bool

Whether the configuration parameter contains sensitive data.

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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.