#[non_exhaustive]pub struct ContainerProperties {Show 13 fields
pub default_encryption_scope: Option<String>,
pub deleted_time: Option<OffsetDateTime>,
pub etag: Option<Etag>,
pub has_immutability_policy: Option<bool>,
pub has_legal_hold: Option<bool>,
pub is_immutable_storage_with_versioning_enabled: Option<bool>,
pub last_modified: Option<OffsetDateTime>,
pub lease_duration: Option<LeaseDuration>,
pub lease_state: Option<LeaseState>,
pub lease_status: Option<LeaseStatus>,
pub prevent_encryption_scope_override: Option<bool>,
pub public_access: Option<PublicAccessType>,
pub remaining_retention_days: Option<i32>,
}Expand description
The properties of a container.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.default_encryption_scope: Option<String>The default encryption scope of the container.
deleted_time: Option<OffsetDateTime>The date-time the container was deleted.
etag: Option<Etag>The ETag of the container.
has_immutability_policy: Option<bool>Whether the container has an immutability policy.
has_legal_hold: Option<bool>Whether the container has a legal hold.
is_immutable_storage_with_versioning_enabled: Option<bool>Whether immutable storage with versioning is enabled.
last_modified: Option<OffsetDateTime>The date-time that the container was last modified.
lease_duration: Option<LeaseDuration>The lease duration of the container.
lease_state: Option<LeaseState>The lease state of the container.
lease_status: Option<LeaseStatus>The lease status of the container.
prevent_encryption_scope_override: Option<bool>Whether to prevent encryption scope override.
public_access: Option<PublicAccessType>The public access type of the container.
remaining_retention_days: Option<i32>The remaining retention days of the container.
Trait Implementations§
Source§impl Clone for ContainerProperties
impl Clone for ContainerProperties
Source§fn clone(&self) -> ContainerProperties
fn clone(&self) -> ContainerProperties
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 ContainerProperties
impl Debug for ContainerProperties
Source§impl Default for ContainerProperties
impl Default for ContainerProperties
Source§fn default() -> ContainerProperties
fn default() -> ContainerProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContainerProperties
impl<'de> Deserialize<'de> for ContainerProperties
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 ContainerProperties
impl RefUnwindSafe for ContainerProperties
impl Send for ContainerProperties
impl Sync for ContainerProperties
impl Unpin for ContainerProperties
impl UnsafeUnpin for ContainerProperties
impl UnwindSafe for ContainerProperties
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more
Source§impl<D> DeserializeWith<XmlFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<XmlFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
Source§fn decompression(self) -> Decompression<Self>where
Self: Sized,
fn decompression(self) -> Decompression<Self>where
Self: Sized,
Decompress response bodies. Read more
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more