#[non_exhaustive]pub struct GetBucketWebsiteOutput {
pub redirect_all_requests_to: Option<RedirectAllRequestsTo>,
pub index_document: Option<IndexDocument>,
pub error_document: Option<ErrorDocument>,
pub routing_rules: Option<Vec<RoutingRule>>,
/* private fields */
}
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.redirect_all_requests_to: Option<RedirectAllRequestsTo>
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
index_document: Option<IndexDocument>
The name of the index document for the website (for example index.html
).
error_document: Option<ErrorDocument>
The object key name of the website error document to use for 4XX class errors.
routing_rules: Option<Vec<RoutingRule>>
Rules that define when a redirect is applied and the redirect behavior.
Implementations§
source§impl GetBucketWebsiteOutput
impl GetBucketWebsiteOutput
sourcepub fn redirect_all_requests_to(&self) -> Option<&RedirectAllRequestsTo>
pub fn redirect_all_requests_to(&self) -> Option<&RedirectAllRequestsTo>
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
sourcepub fn index_document(&self) -> Option<&IndexDocument>
pub fn index_document(&self) -> Option<&IndexDocument>
The name of the index document for the website (for example index.html
).
sourcepub fn error_document(&self) -> Option<&ErrorDocument>
pub fn error_document(&self) -> Option<&ErrorDocument>
The object key name of the website error document to use for 4XX class errors.
sourcepub fn routing_rules(&self) -> &[RoutingRule]
pub fn routing_rules(&self) -> &[RoutingRule]
Rules that define when a redirect is applied and the redirect behavior.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .routing_rules.is_none()
.
source§impl GetBucketWebsiteOutput
impl GetBucketWebsiteOutput
sourcepub fn builder() -> GetBucketWebsiteOutputBuilder
pub fn builder() -> GetBucketWebsiteOutputBuilder
Creates a new builder-style object to manufacture GetBucketWebsiteOutput
.
Trait Implementations§
source§impl Clone for GetBucketWebsiteOutput
impl Clone for GetBucketWebsiteOutput
source§fn clone(&self) -> GetBucketWebsiteOutput
fn clone(&self) -> GetBucketWebsiteOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetBucketWebsiteOutput
impl Debug for GetBucketWebsiteOutput
source§impl PartialEq for GetBucketWebsiteOutput
impl PartialEq for GetBucketWebsiteOutput
source§impl RequestId for GetBucketWebsiteOutput
impl RequestId for GetBucketWebsiteOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.source§impl RequestIdExt for GetBucketWebsiteOutput
impl RequestIdExt for GetBucketWebsiteOutput
source§fn extended_request_id(&self) -> Option<&str>
fn extended_request_id(&self) -> Option<&str>
impl StructuralPartialEq for GetBucketWebsiteOutput
Auto Trait Implementations§
impl Freeze for GetBucketWebsiteOutput
impl RefUnwindSafe for GetBucketWebsiteOutput
impl Send for GetBucketWebsiteOutput
impl Sync for GetBucketWebsiteOutput
impl Unpin for GetBucketWebsiteOutput
impl UnwindSafe for GetBucketWebsiteOutput
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
)