Struct command::object::ConfigKey
zaun_community_protocol::command::object::ConfigKey · Struct
pub struct ConfigKey { … }One setting a bot declares in its manifest’s config table; the owner sets its value.
Fields
Section titled “Fields”description: String
Section titled “description: String”What it is, shown to the owner (1-200 scalars).
default: Option<String>
Section titled “default: Option<String>”Used while the owner has set nothing (≤ 4 KiB); never for a secret.
secret: bool
Section titled “secret: bool”Masked wherever it is shown, and never logged.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq