Struct aws_sdk_cloudfront::model::ResponseHeadersPolicyAccessControlAllowMethods [−][src]
#[non_exhaustive]pub struct ResponseHeadersPolicyAccessControlAllowMethods {
pub quantity: Option<i32>,
pub items: Option<Vec<ResponseHeadersPolicyAccessControlAllowMethodsValues>>,
}Expand description
A list of HTTP methods that CloudFront includes as values for the Access-Control-Allow-Methods HTTP response header.
For more information about the Access-Control-Allow-Methods HTTP response header, see Access-Control-Allow-Methods in the MDN Web Docs.
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: Option<i32>The number of HTTP methods in the list.
items: Option<Vec<ResponseHeadersPolicyAccessControlAllowMethodsValues>>The list of HTTP methods. Valid values are:
-
GET -
DELETE -
HEAD -
OPTIONS -
PATCH -
POST -
PUT -
ALL
ALL is a special value that includes all of the listed HTTP methods.
Implementations
Creates a new builder-style object to manufacture ResponseHeadersPolicyAccessControlAllowMethods
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
