pub struct ErrorDocument {
pub key: String,
}
Expand description
The error information.
Fields§
§key: String
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.
Trait Implementations§
Source§impl Clone for ErrorDocument
impl Clone for ErrorDocument
Source§fn clone(&self) -> ErrorDocument
fn clone(&self) -> ErrorDocument
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 ErrorDocument
impl Debug for ErrorDocument
Source§impl Default for ErrorDocument
impl Default for ErrorDocument
Source§fn default() -> ErrorDocument
fn default() -> ErrorDocument
Returns the “default value” for a type. Read more
Source§impl PartialEq for ErrorDocument
impl PartialEq for ErrorDocument
impl StructuralPartialEq for ErrorDocument
Auto Trait Implementations§
impl Freeze for ErrorDocument
impl RefUnwindSafe for ErrorDocument
impl Send for ErrorDocument
impl Sync for ErrorDocument
impl Unpin for ErrorDocument
impl UnwindSafe for ErrorDocument
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