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 Default for BucketWebsite
[src]
impl Default for BucketWebsite
fn default() -> BucketWebsite
[src]
fn default() -> BucketWebsite
Returns the "default value" for a type. Read more
impl Clone for BucketWebsite
[src]
impl Clone for BucketWebsite
fn clone(&self) -> BucketWebsite
[src]
fn clone(&self) -> BucketWebsite
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for BucketWebsite
[src]
impl Debug for BucketWebsite
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl NestedType for BucketWebsite
[src]
impl NestedType for BucketWebsite
impl Part for BucketWebsite
[src]
impl Part for BucketWebsite
Auto Trait Implementations
impl Send for BucketWebsite
impl Send for BucketWebsite
impl Sync for BucketWebsite
impl Sync for BucketWebsite