pub struct TenantConfig {
pub tenant_id: String,
pub quotas: TenantQuota,
pub net: TenantNet,
pub secrets_epoch: u64,
pub config_version: u64,
pub pinned: bool,
pub audit_retention_days: u32,
pub created_at: String,
}Expand description
Tenant: a security, isolation, and policy boundary that may own multiple microVMs. NOT a runtime entity — tenants have no state machine.
Fields§
§tenant_id: String§quotas: TenantQuota§net: TenantNet§secrets_epoch: u64§config_version: u64§pinned: boolIf true, reconcile cannot auto-stop this tenant’s instances.
audit_retention_days: u32Audit log retention in days. 0 = forever.
created_at: StringTrait Implementations§
Source§impl Clone for TenantConfig
impl Clone for TenantConfig
Source§fn clone(&self) -> TenantConfig
fn clone(&self) -> TenantConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 TenantConfig
impl Debug for TenantConfig
Source§impl<'de> Deserialize<'de> for TenantConfig
impl<'de> Deserialize<'de> for TenantConfig
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
Auto Trait Implementations§
impl Freeze for TenantConfig
impl RefUnwindSafe for TenantConfig
impl Send for TenantConfig
impl Sync for TenantConfig
impl Unpin for TenantConfig
impl UnsafeUnpin for TenantConfig
impl UnwindSafe for TenantConfig
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