Struct command::channel::Update
zaun_community_protocol::command::channel::Update · Struct
pub struct Update { … }channel.update: any of the fields; null clears only topic and parent_id.
Fields
Section titled “Fields”channel_id: Option<ChannelId>
Section titled “channel_id: Option<ChannelId>”The channel (or on the envelope).
name: Patch<String>
Section titled “name: Patch<String>”New name.
topic: Patch<String>
Section titled “topic: Patch<String>”New topic; null clears.
parent_id: Patch<ChannelId>
Section titled “parent_id: Patch<ChannelId>”New parent; null moves to the top level.
slowmode_s: Patch<u32>
Section titled “slowmode_s: Patch<u32>”New slowmode.
locked: Patch<bool>
Section titled “locked: Patch<bool>”Lock or unlock.
typing: Patch<TypingMode>
Section titled “typing: Patch<TypingMode>”Who sees typing: named, anonymous or off.
retention: Patch<Retention>
Section titled “retention: Patch<Retention>”New retention.
sync_with_parent: Patch<bool>
Section titled “sync_with_parent: Patch<bool>”Re-link to or detach from the parent’s overrides.
history: Patch<HistoryAccess>
Section titled “history: Patch<HistoryAccess>”New history policy (increments history_rev).
public_distribution: Patch<bool>
Section titled “public_distribution: Patch<bool>”Experimental (Appendix A); owner only.
user_limit: Patch<u32>
Section titled “user_limit: Patch<u32>”Voice channels only: new user_limit (1–99); null removes it.
Trait implementations
Section titled “Trait implementations”Body, Clone, Debug, Default, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq, Validate