Struct aws_sdk_cloudfront::types::Invalidation
source · #[non_exhaustive]pub struct Invalidation {
pub id: String,
pub status: String,
pub create_time: DateTime,
pub invalidation_batch: Option<InvalidationBatch>,
}
Expand description
An invalidation.
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.id: String
The identifier for the invalidation request. For example: IDFDVBD632BHDS5
.
status: String
The status of the invalidation request. When the invalidation batch is finished, the status is Completed
.
create_time: DateTime
The date and time the invalidation request was first made.
invalidation_batch: Option<InvalidationBatch>
The current invalidation information for the batch request.
Implementations§
source§impl Invalidation
impl Invalidation
sourcepub fn id(&self) -> &str
pub fn id(&self) -> &str
The identifier for the invalidation request. For example: IDFDVBD632BHDS5
.
sourcepub fn status(&self) -> &str
pub fn status(&self) -> &str
The status of the invalidation request. When the invalidation batch is finished, the status is Completed
.
sourcepub fn create_time(&self) -> &DateTime
pub fn create_time(&self) -> &DateTime
The date and time the invalidation request was first made.
sourcepub fn invalidation_batch(&self) -> Option<&InvalidationBatch>
pub fn invalidation_batch(&self) -> Option<&InvalidationBatch>
The current invalidation information for the batch request.
source§impl Invalidation
impl Invalidation
sourcepub fn builder() -> InvalidationBuilder
pub fn builder() -> InvalidationBuilder
Creates a new builder-style object to manufacture Invalidation
.
Trait Implementations§
source§impl Clone for Invalidation
impl Clone for Invalidation
source§fn clone(&self) -> Invalidation
fn clone(&self) -> Invalidation
Returns a copy of the value. Read more
1.0.0 · 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 Invalidation
impl Debug for Invalidation
source§impl PartialEq for Invalidation
impl PartialEq for Invalidation
source§fn eq(&self, other: &Invalidation) -> bool
fn eq(&self, other: &Invalidation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Invalidation
Auto Trait Implementations§
impl RefUnwindSafe for Invalidation
impl Send for Invalidation
impl Sync for Invalidation
impl Unpin for Invalidation
impl UnwindSafe for Invalidation
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> 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>
Creates a shared type from an unshared type.