Skip to content

Struct command::object::Manifest

zaun_community_protocol::command::object::Manifest · Struct

pub struct Manifest { … }

The manifest inside a bot package.

Lowercase reverse-DNS, equal to the signed header.

Semantic version, equal to the signed header.

The bot member’s display name, 1–32 scalars.

≤ 400 scalars.

Permission bits it asks for.

Capabilities it asks for.

Event types it wants delivered.

Requested limits.

Where newer packages are published.

Settings the owner sets (bot.configure): key ([a-z][a-z0-9_]{0,63}, ≤ 32) to description, default and whether it is secret.

pub fn request(&self) -> Grants

What the manifest asks for.

Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq, Validate

Full rustdoc page