[][src]Struct gcp_client::google::storage::v1::bucket::Website

pub struct Website {
    pub main_page_suffix: String,
    pub not_found_page: String,
}

Properties of a bucket related to accessing the contents as a static website. For more on hosting a static website via GCS, see https://cloud.google.com/storage/docs/hosting-static-website.

Fields

main_page_suffix: 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.

not_found_page: 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 [https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found] result.

Trait Implementations

impl Clone for Website[src]

impl Debug for Website[src]

impl Default for Website[src]

impl Message for Website[src]

impl PartialEq<Website> for Website[src]

impl StructuralPartialEq for Website[src]

Auto Trait Implementations

impl RefUnwindSafe for Website

impl Send for Website

impl Sync for Website

impl Unpin for Website

impl UnwindSafe for Website

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]