//! The sequenced change-feed event type.
//!
//! A [`ChangeEvent`] is an [`AgentEvent`] stamped with a global monotonic
//! sequence number and routing metadata. It is the unit carried on the account
//! `GET /api/v1/stream` feed and persisted, one JSON line each, in the durable
//! journal (see [`super::journal`]).
//!
//! Classification of which events are durable lives on the event type itself:
//! [`AgentEvent::is_durable_change`]. Keeping it in `bamboo-agent-core` lets
//! both the server and the engine forwarder filter before cloning onto the
//! feed.
use AgentEvent;
use ;
use ;
/// An [`AgentEvent`] stamped with its global sequence number for the account
/// change feed.
///
/// The `seq` of a [`AgentEvent::MessageAppended`] event is also the message's
/// feed coordinate, used by `GET /history/{id}?since={seq}` to compute deltas.