Struct aws_sdk_cloudfront::types::FunctionAssociations
source · #[non_exhaustive]pub struct FunctionAssociations {
pub quantity: i32,
pub items: Option<Vec<FunctionAssociation>>,
}Expand description
A list of CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your functions must be published to the LIVE stage to associate them with a cache behavior.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.quantity: i32The number of CloudFront functions in the list.
items: Option<Vec<FunctionAssociation>>The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your functions must be published to the LIVE stage to associate them with a cache behavior.
Implementations§
source§impl FunctionAssociations
impl FunctionAssociations
sourcepub fn items(&self) -> &[FunctionAssociation]
pub fn items(&self) -> &[FunctionAssociation]
The CloudFront functions that are associated with a cache behavior in a CloudFront distribution. Your functions must be published to the LIVE stage to associate them with a cache behavior.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .items.is_none().
source§impl FunctionAssociations
impl FunctionAssociations
sourcepub fn builder() -> FunctionAssociationsBuilder
pub fn builder() -> FunctionAssociationsBuilder
Creates a new builder-style object to manufacture FunctionAssociations.
Trait Implementations§
source§impl Clone for FunctionAssociations
impl Clone for FunctionAssociations
source§fn clone(&self) -> FunctionAssociations
fn clone(&self) -> FunctionAssociations
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FunctionAssociations
impl Debug for FunctionAssociations
source§impl PartialEq for FunctionAssociations
impl PartialEq for FunctionAssociations
source§fn eq(&self, other: &FunctionAssociations) -> bool
fn eq(&self, other: &FunctionAssociations) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for FunctionAssociations
Auto Trait Implementations§
impl Freeze for FunctionAssociations
impl RefUnwindSafe for FunctionAssociations
impl Send for FunctionAssociations
impl Sync for FunctionAssociations
impl Unpin for FunctionAssociations
impl UnwindSafe for FunctionAssociations
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
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>
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 more