Skip to content

Instantly share code, notes, and snippets.

@rksm
Created October 28, 2021 00:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rksm/61841fed1deff838890422ad82878197 to your computer and use it in GitHub Desktop.
Save rksm/61841fed1deff838890422ad82878197 to your computer and use it in GitHub Desktop.
let req = ListenRequest {
database: db.clone(),
labels: HashMap::new(),
target_change: Some(TargetChange::AddTarget(Target {
target_id: 0x52757374,
once: false,
target_type: Some(TargetType::Documents(DocumentsTarget {
documents: vec![users_collection],
})),
resume_type: None,
})),
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment