Struct objectscale_client::tenant::Tenant
source · pub struct Tenant {Show 17 fields
pub name: String,
pub id: String,
pub link: String,
pub creation_time: String,
pub inactive: bool,
pub global: bool,
pub remote: bool,
pub internal: bool,
pub tenant_default_vpool: String,
pub is_encryption_enabled: bool,
pub default_bucket_block_size: i64,
pub is_compliance_enabled: bool,
pub hard_quota_in_g_b: i64,
pub soft_quota_in_g_b: i64,
pub hard_quota_in_count: i64,
pub soft_quota_in_count: i64,
pub alias: String,
}Expand description
A tenant is a logical construct resulting from the binding of an account to an object store.
Fields§
§name: StringName assigned to this resource in ECS. The resource name is set by a user and can be changed at any time. It is not a unique identifier.
id: StringIdentifier that is generated by ECS when the resource is created. The resource Id is guaranteed to be unique and immutable across all virtual data centers for all time.
link: StringHyperlink to the details for this resource
creation_time: StringTimestamp that shows when this resource was created in ECS
inactive: boolIndicates whether the resource is inactive. When a user removes a resource, the resource is put in this state before it is removed from the ECS database.
global: boolIndicates whether the resource is global.
remote: boolIndicates whether the resource is remote.
internal: boolIndicated whether the resource is an internal resource
tenant_default_vpool: String§is_encryption_enabled: booltag to enable encryption for the tenant
default_bucket_block_size: i64Default bucket quota size.
is_compliance_enabled: boolTag to enable compliance compliance
hard_quota_in_g_b: i64§soft_quota_in_g_b: i64§hard_quota_in_count: i64§soft_quota_in_count: i64§alias: StringAlias of tenant
Trait Implementations§
source§impl<'de> Deserialize<'de> for Tenant
impl<'de> Deserialize<'de> for Tenant
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>,
Auto Trait Implementations§
impl Freeze for Tenant
impl RefUnwindSafe for Tenant
impl Send for Tenant
impl Sync for Tenant
impl Unpin for Tenant
impl UnwindSafe for Tenant
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)