Crate hst_deactivations
source · [−]Expand description
Simple database for tracking user account deactivations.
This library was originally designed to track Twitter account suspensions and self-deactivations, but should be general enough to work in other contexts.
It makes a few assumptions:
- Users have an integral identifier (e.g. the Twitter ID).
- Deactivations have an integral status code (e.g. for Twitter, 50 for self-deactivation and 63 for suspension).
- A deactivation has a time at which it was first observed and (optionally) another at which it was reversed.