pub struct FunctionAssociation {
pub event_type: String,
pub function_arn: String,
}
Expand description
A CloudFront function that is associated with a cache behavior in a CloudFront distribution.
Fields§
§event_type: String
The event type of the function, either viewer-request
or viewer-response
. You cannot use origin-facing event types (origin-request
and origin-response
) with a CloudFront function.
function_arn: String
The Amazon Resource Name (ARN) of the function.
Trait Implementations§
Source§impl Clone for FunctionAssociation
impl Clone for FunctionAssociation
Source§fn clone(&self) -> FunctionAssociation
fn clone(&self) -> FunctionAssociation
Returns a duplicate 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 FunctionAssociation
impl Debug for FunctionAssociation
Source§impl Default for FunctionAssociation
impl Default for FunctionAssociation
Source§fn default() -> FunctionAssociation
fn default() -> FunctionAssociation
Returns the “default value” for a type. Read more
Source§impl PartialEq for FunctionAssociation
impl PartialEq for FunctionAssociation
impl StructuralPartialEq for FunctionAssociation
Auto Trait Implementations§
impl Freeze for FunctionAssociation
impl RefUnwindSafe for FunctionAssociation
impl Send for FunctionAssociation
impl Sync for FunctionAssociation
impl Unpin for FunctionAssociation
impl UnwindSafe for FunctionAssociation
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