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: StringThe 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: StringThe 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 (const: unstable) · 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
Source§fn eq(&self, other: &FunctionAssociation) -> bool
fn eq(&self, other: &FunctionAssociation) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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