pub struct AccountInfo {
pub email: Option<String>,
pub org_name: Option<String>,
pub plan_type: Option<String>,
pub subscription_renews_at: Option<String>,
pub subscription_ends_at: Option<String>,
}Expand description
Account labels and subscription information supplied by a provider or vault.
Fields§
§email: Option<String>Account email. Absent when the upstream does not identify the account that way — not a signal about the account itself.
org_name: Option<String>Organisation label. Absent when the upstream reports none; absent does not mean a personal account.
plan_type: Option<String>The upstream’s own plan label, not a normalised vocabulary, so it is not comparable across providers. Display and grouping only. Absent when the upstream states no plan.
subscription_renews_at: Option<String>When the subscription next charges and renews. Stated only for an active
or trialing subscription with no scheduled end; when the upstream states
an end, this is absent and Self::subscription_ends_at carries it.
An RFC 3339 date-time, or a full date (YYYY-MM-DD) when the upstream
gives only a date. Accept both. A full date means that day, not midnight
UTC, so a producer must not turn one into a timestamp. Absent means the
upstream did not state it, not that the plan never renews.
subscription_ends_at: Option<String>When the subscription is scheduled to end, for example after it was
cancelled. Same format as Self::subscription_renews_at. Absent means
the upstream stated no end.