Struct objectscale_client::bucket::Bucket

source ·
pub struct Bucket {
Show 40 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_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 tag_set: Vec<Tag>, /* private fields */
}

Fields§

§name: String§id: String§link: Link§namespace: String§replication: String§locked: bool§fs_acess_enabled: bool§soft_quota: String§created: String§is_stale_allowed: bool§object_lock_with_ado_allowed: bool§is_tso_read_only: bool§default_object_lock_retention_mode: String§default_object_lock_retention_years: i32§default_object_lock_retention_days: i32§default_retention: i64§block_size_in_g_b: i64§auto_commit_period: i64§notification_size_in_g_b: i64§block_size_in_count: i64§notification_size_in_count: i64§is_encryption_enabled: bool§retention: i64§default_group: String§default_group_file_read_permission: bool§default_group_file_write_permission: bool§default_group_file_execute_permission: bool§default_group_dir_read_permission: bool§default_group_dir_execute_permission: bool§min_max_governor: MinMaxGovernor§audit_delete_expiration: i64§enable_advanced_metadata_search: bool§advanced_metadata_search_target_name: String§advanced_metadata_search_target_stream: String§is_empty_bucket_in_progress: bool§meta_data: SearchMetaData§local_object_metadata_reads: bool§apitype: String§bucket_owner: String§tag_set: Vec<Tag>

Trait Implementations§

source§

impl Clone for Bucket

source§

fn clone(&self) -> Bucket

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Bucket

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Bucket

source§

fn default() -> Bucket

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Bucket

source§

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 Serialize for Bucket

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,