Struct Properties

Source
pub struct Properties {
Show 25 fields pub append_blob_committed_block_count: Option<i32>, pub blob_tier_inferred: Option<bool>, pub blob_tier_last_modified_time: Option<DateTime<Utc>>, pub blob_type: BlobType, pub cache_control: Option<String>, pub content_disposition: Option<String>, pub content_encoding: Option<String>, pub content_language: Option<String>, pub content_md5: Option<String>, pub content_type: Option<String>, pub created: Option<DateTime<Utc>>, pub deleted_time: Option<DateTime<Utc>>, pub etag: Option<String>, pub is_incremental_copy: bool, pub is_server_encrypted: bool, pub last_modified: Option<DateTime<Utc>>, pub lease_duration: LeaseDuration, pub lease_state: LeaseState, pub lease_status: LeaseStatus, pub length: i64, pub page_blob_sequence_number: Option<i64>, pub premium_page_blob_tier: Option<PremiumPageBlobTier>, pub rehydration_status: Option<RehydrationStatus>, pub remaining_days_before_permanent_delete: Option<i32>, pub standard_blob_tier: Option<StandardBlobTier>,
}
Expand description

Represents the properties of an Azure Storage blob.

Fields§

§append_blob_committed_block_count: Option<i32>

The number of committed blocks, if the blob is an append blob.

§blob_tier_inferred: Option<bool>

The value indicating if the tier of the blob has been inferred.

§blob_tier_last_modified_time: Option<DateTime<Utc>>

The time for when the tier of the blob was last-modified.

§blob_type: BlobType

The type of the blob.

§cache_control: Option<String>

The cache-control value stored for the blob.

§content_disposition: Option<String>

The content-disposition value stored for the blob.

§content_encoding: Option<String>

The content-encoding value stored for the blob.

§content_language: Option<String>

The content-language value stored for the blob.

§content_md5: Option<String>

The content-MD5 value stored for the blob.

§content_type: Option<String>

The content-type value stored for the blob.

§created: Option<DateTime<Utc>>

The creation time for the blob

§deleted_time: Option<DateTime<Utc>>

The deletion time for the blob, if it was deleted.

§etag: Option<String>

The blob’s ETag value.

§is_incremental_copy: bool

The value indicating whether or not this blob is an incremental copy.

§is_server_encrypted: bool

The blob’s server-side encryption state.

§last_modified: Option<DateTime<Utc>>

The last-modified time for the blob.

§lease_duration: LeaseDuration

The blob’s lease duration.

§lease_state: LeaseState

The blob’s lease state.

§lease_status: LeaseStatus

The blob’s lease status.

§length: i64

The size of the blob, in bytes.

§page_blob_sequence_number: Option<i64>

The blob’s current sequence number, if the blob is a page blob.

§premium_page_blob_tier: Option<PremiumPageBlobTier>

The value indicating the tier of the premium page blob, if the blob is a page blob.

§rehydration_status: Option<RehydrationStatus>

The value indicating that the blob is being rehdrated and the tier of the blob once the rehydration from archive has completed.

§remaining_days_before_permanent_delete: Option<i32>

The number of remaining days before the blob is permenantly deleted, if the blob is soft-deleted.

§standard_blob_tier: Option<StandardBlobTier>

The value indicating the tier of the block blob.

Trait Implementations§

Source§

impl Debug for Properties

Source§

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

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

impl Default for Properties

Source§

fn default() -> Properties

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

impl<'de> Deserialize<'de> for Properties

Source§

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§

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> 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> IntoRequest<T> for T

Source§

fn into_request(self) -> Request<T>

Wrap the input message T in a tonic::Request
Source§

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

Source§

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>,

Source§

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>,