Struct cloud_storage::bucket::Website[][src]

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

Contains configuration about how to visit the website linked to this Bucket.

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 404 Not Found result.

Trait Implementations

impl Debug for Website[src]

impl<'de> Deserialize<'de> for Website[src]

impl PartialEq<Website> for Website[src]

impl Serialize 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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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, 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.