Struct command::object::InviteSummary
zaun_community_protocol::command::object::InviteSummary · Struct
pub struct InviteSummary { … }One entry of invite.list. Never carries the secret.
Fields
Section titled “Fields”invite_id: InviteId
Section titled “invite_id: InviteId”Public handle.
creator_id: MemberId
Section titled “creator_id: MemberId”The issuing member.
uses: u32
Section titled “uses: u32”Redemptions so far (pending requests count).
max_uses: u32
Section titled “max_uses: u32”0 = unlimited.
expires_at: Option<u64>
Section titled “expires_at: Option<u64>”Expiry, ms; none = never.
channel_id: Option<ChannelId>
Section titled “channel_id: Option<ChannelId>”The channel the invitation opens on, if any.
requires_approval: bool
Section titled “requires_approval: bool”Joins through it start pending.
sponsored: bool
Section titled “sponsored: bool”The creator sponsors members admitted through it.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq