very fast at protocol indexer with flexible filtering, xrpc queries, cursor-backed event stream, and more, built on fjall
rust
fjall
at-protocol
atproto
indexer
1use serde::{Deserialize, Serialize};
2
3/// apply a bool patch or set replacement for a single set update.
4#[derive(Debug, Clone, Serialize, Deserialize)]
5#[serde(untagged)]
6pub(crate) enum SetUpdate {
7 /// replace the entire set with this list
8 Set(Vec<String>),
9 /// patch: true = add, false = remove
10 Patch(std::collections::HashMap<String, bool>),
11}