pub struct DeletionPreview {}Expand description
Counts of what deleting the signed-in account would take, as
returned by GET /api/me/deletion-preview.
Public for the same reason Me is: every consumer shows these
before asking for confirmation, so nobody confirms an irreversible
action without seeing what is in it. Counts are of the account’s
own content — anything it authored inside someone else’s project
is not counted, because the platform’s purge will not take it.
Serialize as well as Deserialize because a consumer is rarely
the thing that displays these: the desktop daemon fetches them and
forwards them to its own renderer, and without a way to write them
back out every consumer would redefine the struct to do it.
Fields§
§accounts: u32Phone lines whose settings were backed up to the account. Named
accounts on the wire because the platform calls them voice
accounts; to the person confirming, they are their saved lines.
calls: u32§recordings: u32§transcripts: u32Share links that still resolve. Already-revoked ones are not counted — they are gone as far as the holder of the link is concerned.
flows: u32§contacts: u32§prompts: u32§projects: u32§label_sets: u32Label sets that nothing else still references. One another project’s labelling still uses survives, so this is not simply “sets this account created”.
files: u32§annotations: u32§exports: u32§models: u32