pub struct GetAdminRegistrationConfigResponse {
pub registration_open: bool,
pub default_signup_plan: String,
pub allowed_email_domains: Vec<String>,
pub setup_status: SetupStateResponseStateStatus,
pub missing_required: Vec<String>,
pub waitlist_count: i64,
pub waitlist_truncated: Option<bool>,
pub waitlist: Vec<GetAdminRegistrationConfigResponseWaitlistItem>,
}Expand description
GetAdminRegistrationConfigResponse model.
Fields§
§registration_open: bool§default_signup_plan: Stringfree when nothing is stored.
allowed_email_domains: Vec<String>Empty means no domain restriction.
setup_status: SetupStateResponseStateStatus§missing_required: Vec<String>Setup steps still outstanding. Non-empty means an attempt to open registration is refused, and this is the list it will name.
waitlist_count: i64How many tenants are waitlisted — ALL of them, counted by walking every KV page. It used to
be waitlist.length, from a single unpaginated read, so past a thousand signups the number
froze at exactly 1000 with nothing saying it had been cut (ADM-04). This is the number an
admin uses to decide when to open registration, so it is the one that must be complete
rather than the roster.
waitlist_truncated: Option<bool>True when waitlist holds fewer rows than waitlist_count. The roster is a display list
and stays bounded at 1000; the count is not.
waitlist: Vec<GetAdminRegistrationConfigResponseWaitlistItem>Oldest first. Bounded at 1000 rows — check waitlist_truncated rather than taking
waitlist.length as the total.
Trait Implementations§
Source§impl Clone for GetAdminRegistrationConfigResponse
impl Clone for GetAdminRegistrationConfigResponse
Source§fn clone(&self) -> GetAdminRegistrationConfigResponse
fn clone(&self) -> GetAdminRegistrationConfigResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more