Struct aws_sdk_s3::types::IndexDocument
source · #[non_exhaustive]pub struct IndexDocument {
pub suffix: String,
}
Expand description
Container for the Suffix
element.
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.suffix: String
A suffix that is appended to a request that is for a directory on the website endpoint (for example,if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.
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.
Implementations§
source§impl IndexDocument
impl IndexDocument
sourcepub fn suffix(&self) -> &str
pub fn suffix(&self) -> &str
A suffix that is appended to a request that is for a directory on the website endpoint (for example,if the suffix is index.html and you make a request to samplebucket/images/ the data that is returned will be for the object with the key name images/index.html) The suffix must not be empty and must not include a slash character.
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 IndexDocument
impl IndexDocument
sourcepub fn builder() -> IndexDocumentBuilder
pub fn builder() -> IndexDocumentBuilder
Creates a new builder-style object to manufacture IndexDocument
.
Trait Implementations§
source§impl Clone for IndexDocument
impl Clone for IndexDocument
source§fn clone(&self) -> IndexDocument
fn clone(&self) -> IndexDocument
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for IndexDocument
impl Debug for IndexDocument
source§impl PartialEq for IndexDocument
impl PartialEq for IndexDocument
source§fn eq(&self, other: &IndexDocument) -> bool
fn eq(&self, other: &IndexDocument) -> bool
self
and other
values to be equal, and is used
by ==
.