Struct objectscale_client::bucket::Bucket
source · pub struct Bucket {Show 41 fields
pub name: String,
pub id: String,
pub link: Link,
pub namespace: String,
pub replication: String,
pub locked: bool,
pub fs_acess_enabled: bool,
pub soft_quota: String,
pub created: String,
pub is_stale_allowed: bool,
pub object_lock_with_ado_allowed: bool,
pub is_tso_read_only: bool,
pub default_object_lock_retention_mode: String,
pub default_object_lock_retention_years: i32,
pub default_object_lock_retention_days: i32,
pub default_retention: i64,
pub block_size_in_g_b: i64,
pub auto_commit_period: i64,
pub notification_size_in_g_b: i64,
pub block_size_in_count: i64,
pub notification_size_in_count: i64,
pub is_encryption_enabled: bool,
pub retention: i64,
pub default_group: String,
pub default_group_file_read_permission: bool,
pub default_group_file_write_permission: bool,
pub default_group_file_execute_permission: bool,
pub default_group_dir_read_permission: bool,
pub default_group_dir_write_permission: bool,
pub default_group_dir_execute_permission: bool,
pub min_max_governor: MinMaxGovernor,
pub audit_delete_expiration: i64,
pub enable_advanced_metadata_search: bool,
pub advanced_metadata_search_target_name: String,
pub advanced_metadata_search_target_stream: String,
pub is_empty_bucket_in_progress: bool,
pub meta_data: SearchMetaData,
pub local_object_metadata_reads: bool,
pub apitype: String,
pub bucket_owner: String,
pub tags: Vec<BucketTag>,
}Expand description
Buckets are object containers that are used to control access to objects. ObjectScale supports bucket-to-bucket replication of the objects within a bucket.
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: LinkHyperlink to the details for this resource
namespace: StringNamespace
replication: String§locked: bool“Locked” status of a bucket
fs_acess_enabled: boolBucket “file system access enabled” status
soft_quota: StringBucket soft quota
created: StringBucket creation time
is_stale_allowed: boolBucket isStaleAllowed flag
object_lock_with_ado_allowed: boolIf true Object Lock and ADO can be enabled together. See the Admin Guide for more information.
is_tso_read_only: boolBucket isStaleAllowed flag
default_object_lock_retention_mode: StringDefault object lock retention mode
default_object_lock_retention_years: i32Default object lock retention years
default_object_lock_retention_days: i32Default object lock retention days
default_retention: i64Default bucket retention
block_size_in_g_b: i64Block size in GB
auto_commit_period: i64auto-commit interval
notification_size_in_g_b: i64Notification size in GB
block_size_in_count: i64§notification_size_in_count: i64§is_encryption_enabled: boolBucket isEncryptionEnabled flag
retention: i64Default retention value for the bucket.
default_group: StringBucket’s default group
default_group_file_read_permission: boolFlag indicating the Read permission for default group
default_group_file_write_permission: boolFlag indicating the file write permission for default group
default_group_file_execute_permission: boolFlag indicating the file execute permission for default group
default_group_dir_read_permission: boolFlag indicating the directory read permission for default group. This is only applicable to folders created within the Filesystem-Enabled bucket. It is not applicable to files/objects
default_group_dir_write_permission: boolFlag indicating the directory write permission for default group. This is only applicable to folders created within the Filesystem-Enabled bucket. It is not applicable to files/objects
default_group_dir_execute_permission: boolFlag indicating the directory execute permission for default group. This is only applicable to folders created within the Filesystem-Enabled bucket. It is not applicable to files/objects
min_max_governor: MinMaxGovernor§audit_delete_expiration: i64Bucket audit delete expiration in seconds
enable_advanced_metadata_search: bool§advanced_metadata_search_target_name: String§advanced_metadata_search_target_stream: String§is_empty_bucket_in_progress: boolOptional. If true the bucket is in the process of being deleted. The bucket will be read only and no changes will be allowed on the bucket until the operation completes.
meta_data: SearchMetaData§local_object_metadata_reads: boolLocal object metadata reads bucket flag.
apitype: StringAPI type
bucket_owner: StringBucket owner
Keywords and labels that can be added by a user to a resource to make it easy to find when doing a search.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Bucket
impl<'de> Deserialize<'de> for Bucket
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 Bucket
impl RefUnwindSafe for Bucket
impl Send for Bucket
impl Sync for Bucket
impl Unpin for Bucket
impl UnwindSafe for Bucket
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)