Skip to content

Struct signed::BotPackage

zaun_community_protocol::signed::BotPackage · Struct

pub struct BotPackage { … }

The signed header of a bot package, signed by the publisher key inside it.

3: lowercase reverse-DNS, 3–64 bytes.

4: Semantic Versioning 2.0.0 without build metadata, ≤ 64 bytes.

5: the publisher key; the signer. None (written as PUBLIC_KEY_LEN zero bytes) only in an unsigned development package, whose signature is all zero too.

6: zaun:bot/bot@<semver>, ≤ 64 bytes.

7: SHA3-256 of the manifest bytes.

8: SHA3-256 of the component bytes.

9: ms since the epoch.

Clone, Debug, Decode, Encode, Eq, PartialEq, SignedObject, StructuralPartialEq

Full rustdoc page