Struct google_storage1::BucketWebsite
[−]
[src]
pub struct BucketWebsite { pub not_found_page: Option<String>, pub main_page_suffix: Option<String>, }
The bucket's website configuration, controlling how the service behaves when accessing bucket contents as a web site. See the Static Website Examples for more information.
This type is not used in any activity, and only used as part of another schema.
Fields
not_found_page: Option<String>
If the requested object path is missing, and any mainPageSuffix object is missing, if applicable, the service will return the named object from this bucket as the content for a 404 Not Found result.
main_page_suffix: Option<String>
If the requested object path is missing, the service will ensure the path has a trailing '/', append this suffix, and attempt to retrieve the resulting object. This allows the creation of index.html objects to represent directory pages.
Trait Implementations
impl Debug for BucketWebsite
[src]
impl Clone for BucketWebsite
[src]
fn clone(&self) -> BucketWebsite
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for BucketWebsite
[src]
fn default() -> BucketWebsite
Returns the "default value" for a type. Read more