Skip to content

Struct signed::CommunityDescriptor

zaun_community_protocol::signed::CommunityDescriptor · Struct

pub struct CommunityDescriptor { … }

The community’s public, owner-signed statement. Signed by the current root key.

2: derives from the genesis root key.

3: ≥ 1; strictly increasing per community.

4: the current root key (genesis, or new_root of the last rotation).

5: ≤ 1: only the most recent rotation; empty when never rotated.

6: ≥ 0x01; never decreases across revisions.

7: 2–100 scalars, ≤ 400 bytes.

8: ≤ 1 000 scalars, ≤ 4 000 bytes.

9: SHA3-256 of the icon bytes.

10: ≤ 8 BCP 47 tags, each ≤ 35 bytes.

11: ≤ 8 topic tags, each 1–32 scalars.

12: ≤ 20 rules, each 1–500 scalars, ≤ 8 192 bytes encoded in total.

13: ≤ 4 000 scalars.

14: ≤ 256 scalars.

15: ≤ 256 scalars.

16: the owner’s public claim about admission.

17: private, unlisted or listed.

18: ≥ 1.

19: ≥ protocol_min.

20: the owner binding (ADR-0005).

21: none = no host authorised (community suspended).

22: experimental (Appendix A); ≤ 4, each ≤ 2 048 B; empty in v1-conformant descriptors.

23: ms.

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

Full rustdoc page