[−][src]Struct google_storage1::BucketCors
The bucket's Cross-Origin Resource Sharing (CORS) configuration.
This type is not used in any activity, and only used as part of another schema.
Fields
origin: Option<Vec<String>>
The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
response_header: Option<Vec<String>>
The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.
method: Option<Vec<String>>
The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
max_age_seconds: Option<i32>
The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
Trait Implementations
impl Part for BucketCors
[src]
impl NestedType for BucketCors
[src]
impl Clone for BucketCors
[src]
fn clone(&self) -> BucketCors
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for BucketCors
[src]
fn default() -> BucketCors
[src]
impl Debug for BucketCors
[src]
impl Serialize for BucketCors
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for BucketCors
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for BucketCors
impl Sync for BucketCors
impl Unpin for BucketCors
impl UnwindSafe for BucketCors
impl RefUnwindSafe for BucketCors
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,