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. CloudFront 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: i32
The 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. CloudFront 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. CloudFront 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 ==
.