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
impl StructuralPartialEq for IndexDocument
Auto Trait Implementations§
impl Freeze for IndexDocument
impl RefUnwindSafe for IndexDocument
impl Send for IndexDocument
impl Sync for IndexDocument
impl Unpin for IndexDocument
impl UnwindSafe for IndexDocument
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)