Skip to content

Struct command::object::Retention

zaun_community_protocol::command::object::Retention · Struct

pub struct Retention { … }

Message retention of a channel.

SPEC: the spec gives no bounds or semantics; this crate requires each set value ≥ 1 and below 2^53, and lets null mean “no limit”.

Maximum message age in seconds.

Maximum number of messages kept.

Clone, Copy, Debug, Default, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq

Full rustdoc page