Struct aws_sdk_s3::types::ErrorDocument
source · #[non_exhaustive]pub struct ErrorDocument { /* private fields */ }
Expand description
The error information.
Implementations§
source§impl ErrorDocument
impl ErrorDocument
sourcepub fn key(&self) -> Option<&str>
pub fn key(&self) -> Option<&str>
The object key name to use when a 4XX class error occurs.
Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints.
source§impl ErrorDocument
impl ErrorDocument
sourcepub fn builder() -> ErrorDocumentBuilder
pub fn builder() -> ErrorDocumentBuilder
Creates a new builder-style object to manufacture ErrorDocument
.
Trait Implementations§
source§impl Clone for ErrorDocument
impl Clone for ErrorDocument
source§fn clone(&self) -> ErrorDocument
fn clone(&self) -> ErrorDocument
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 ErrorDocument
impl Debug for ErrorDocument
source§impl PartialEq<ErrorDocument> for ErrorDocument
impl PartialEq<ErrorDocument> for ErrorDocument
source§fn eq(&self, other: &ErrorDocument) -> bool
fn eq(&self, other: &ErrorDocument) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.