pub struct DeletionPreview {
pub calls: u32,
pub recordings: u32,
pub transcripts: u32,
pub shares: u32,
pub flows: u32,
pub contacts: u32,
pub prompts: u32,
pub projects: u32,
pub files: u32,
pub annotations: u32,
pub exports: u32,
pub models: u32,
}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§
§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§files: u32§annotations: u32§exports: u32§models: u32Trait Implementations§
Source§impl Clone for DeletionPreview
impl Clone for DeletionPreview
Source§fn clone(&self) -> DeletionPreview
fn clone(&self) -> DeletionPreview
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more