pub struct GuestUsage {
pub instance_enabled: bool,
pub guest_count: i64,
pub window_days: i32,
pub free_allowance: i64,
pub metered: bool,
pub billable_guests: i64,
pub guest_seats: i64,
}Expand description
GuestUsage : Guests are free up to free_allowance distinct emails over the trailing window_days. Past that an Enterprise plan meters them (metered, four guests to one seat: billable_guests, guest_seats); every other plan and build admits no new email until the count drops. instance_enabled is the superadmin switch (guest_access_disabled global setting) every workspace switch sits under.
Fields§
§instance_enabled: bool§guest_count: i64§window_days: i32§free_allowance: i64§metered: bool§billable_guests: i64§guest_seats: i64Implementations§
Source§impl GuestUsage
impl GuestUsage
Sourcepub fn new(
instance_enabled: bool,
guest_count: i64,
window_days: i32,
free_allowance: i64,
metered: bool,
billable_guests: i64,
guest_seats: i64,
) -> GuestUsage
pub fn new( instance_enabled: bool, guest_count: i64, window_days: i32, free_allowance: i64, metered: bool, billable_guests: i64, guest_seats: i64, ) -> GuestUsage
Guests are free up to free_allowance distinct emails over the trailing window_days. Past that an Enterprise plan meters them (metered, four guests to one seat: billable_guests, guest_seats); every other plan and build admits no new email until the count drops. instance_enabled is the superadmin switch (guest_access_disabled global setting) every workspace switch sits under.
Trait Implementations§
Source§impl Clone for GuestUsage
impl Clone for GuestUsage
Source§fn clone(&self) -> GuestUsage
fn clone(&self) -> GuestUsage
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more