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.
Fields
Section titled “Fields”app_id: String
Section titled “app_id: String”3: lowercase reverse-DNS, 3–64 bytes.
version: String
Section titled “version: String”4: Semantic Versioning 2.0.0 without build metadata, ≤ 64 bytes.
publisher_key: Option<PublicKey>
Section titled “publisher_key: Option<PublicKey>”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.
world: String
Section titled “world: String”6: zaun:bot/bot@<semver>, ≤ 64 bytes.
manifest_sha3: [u8; 32]
Section titled “manifest_sha3: [u8; 32]”7: SHA3-256 of the manifest bytes.
component_sha3: [u8; 32]
Section titled “component_sha3: [u8; 32]”8: SHA3-256 of the component bytes.
created_at: u64
Section titled “created_at: u64”9: ms since the epoch.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Decode, Encode, Eq, PartialEq, SignedObject, StructuralPartialEq