pub struct UpdateTenantPlanRequest {
pub plan: String,
pub quotas: Option<TenantQuotas>,
pub quota_overrides: Option<Map<String, Value>>,
pub name: Option<String>,
pub slug: Option<String>,
}Expand description
UpdateTenantPlanRequest model.
Fields§
§plan: StringA built-in plan (free, starter, pro, enterprise) or the id of an ACTIVE custom plan
from /admin/config/custom-plans. Matched case-insensitively and trimmed. Anything else is
400 rather than a silently stored value.
quotas: Option<TenantQuotas>§quota_overrides: Option<Map<String, Value>>Partial quota grant that outlives subscription changes — only the dimensions being raised need be present.
name: Option<String>§slug: Option<String>Lowercase letters, numbers and hyphens. Changing it re-points the public tenant index.
Trait Implementations§
Source§impl Clone for UpdateTenantPlanRequest
impl Clone for UpdateTenantPlanRequest
Source§fn clone(&self) -> UpdateTenantPlanRequest
fn clone(&self) -> UpdateTenantPlanRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateTenantPlanRequest
impl Debug for UpdateTenantPlanRequest
Source§impl Default for UpdateTenantPlanRequest
impl Default for UpdateTenantPlanRequest
Source§fn default() -> UpdateTenantPlanRequest
fn default() -> UpdateTenantPlanRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateTenantPlanRequest
impl<'de> Deserialize<'de> for UpdateTenantPlanRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UpdateTenantPlanRequest
impl PartialEq for UpdateTenantPlanRequest
Source§impl Serialize for UpdateTenantPlanRequest
impl Serialize for UpdateTenantPlanRequest
impl StructuralPartialEq for UpdateTenantPlanRequest
Auto Trait Implementations§
impl Freeze for UpdateTenantPlanRequest
impl RefUnwindSafe for UpdateTenantPlanRequest
impl Send for UpdateTenantPlanRequest
impl Sync for UpdateTenantPlanRequest
impl Unpin for UpdateTenantPlanRequest
impl UnsafeUnpin for UpdateTenantPlanRequest
impl UnwindSafe for UpdateTenantPlanRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more