Struct aws_sdk_cloudfront::types::FunctionAssociations
source · #[non_exhaustive]pub struct FunctionAssociations {
pub quantity: Option<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
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.quantity: Option<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) -> Option<&[FunctionAssociation]>
pub fn items(&self) -> Option<&[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.
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
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 FunctionAssociations
impl Debug for FunctionAssociations
source§impl PartialEq<FunctionAssociations> for FunctionAssociations
impl PartialEq<FunctionAssociations> for FunctionAssociations
source§fn eq(&self, other: &FunctionAssociations) -> bool
fn eq(&self, other: &FunctionAssociations) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FunctionAssociations
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more