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”.
Fields
Section titled “Fields”max_age_s: Option<u64>
Section titled “max_age_s: Option<u64>”Maximum message age in seconds.
max_count: Option<u64>
Section titled “max_count: Option<u64>”Maximum number of messages kept.
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Default, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq