Struct aws_sdk_elasticloadbalancingv2::model::FixedResponseActionConfig [−][src]
#[non_exhaustive]pub struct FixedResponseActionConfig {
pub message_body: Option<String>,
pub status_code: Option<String>,
pub content_type: Option<String>,
}
Expand description
Information about an action that returns a custom HTTP response.
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.message_body: Option<String>
The message.
status_code: Option<String>
The HTTP response code (2XX, 4XX, or 5XX).
content_type: Option<String>
The content type.
Valid Values: text/plain | text/css | text/html | application/javascript | application/json
Implementations
The message.
The HTTP response code (2XX, 4XX, or 5XX).
The content type.
Valid Values: text/plain | text/css | text/html | application/javascript | application/json
Creates a new builder-style object to manufacture FixedResponseActionConfig
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
impl RefUnwindSafe for FixedResponseActionConfig
impl Send for FixedResponseActionConfig
impl Sync for FixedResponseActionConfig
impl Unpin for FixedResponseActionConfig
impl UnwindSafe for FixedResponseActionConfig
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