#[non_exhaustive]pub struct CopyDistributionOutput {
pub distribution: Option<Distribution>,
pub location: Option<String>,
pub e_tag: Option<String>,
/* private fields */
}
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.distribution: Option<Distribution>
A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.
location: Option<String>
The URL of the staging distribution.
e_tag: Option<String>
The version identifier for the current version of the staging distribution.
Implementations§
source§impl CopyDistributionOutput
impl CopyDistributionOutput
sourcepub fn distribution(&self) -> Option<&Distribution>
pub fn distribution(&self) -> Option<&Distribution>
A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.
source§impl CopyDistributionOutput
impl CopyDistributionOutput
sourcepub fn builder() -> CopyDistributionOutputBuilder
pub fn builder() -> CopyDistributionOutputBuilder
Creates a new builder-style object to manufacture CopyDistributionOutput
.
Trait Implementations§
source§impl Clone for CopyDistributionOutput
impl Clone for CopyDistributionOutput
source§fn clone(&self) -> CopyDistributionOutput
fn clone(&self) -> CopyDistributionOutput
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 CopyDistributionOutput
impl Debug for CopyDistributionOutput
source§impl PartialEq for CopyDistributionOutput
impl PartialEq for CopyDistributionOutput
source§fn eq(&self, other: &CopyDistributionOutput) -> bool
fn eq(&self, other: &CopyDistributionOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CopyDistributionOutput
impl RequestId for CopyDistributionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for CopyDistributionOutput
Auto Trait Implementations§
impl Freeze for CopyDistributionOutput
impl RefUnwindSafe for CopyDistributionOutput
impl Send for CopyDistributionOutput
impl Sync for CopyDistributionOutput
impl Unpin for CopyDistributionOutput
impl UnwindSafe for CopyDistributionOutput
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.