[−][src]Struct rusoto_s3::CORSRule
Fields
allowed_headers: Option<Vec<String>>
Specifies which headers are allowed in a pre-flight OPTIONS request.
allowed_methods: Vec<String>
Identifies HTTP methods that the domain/origin specified in the rule is allowed to execute.
allowed_origins: Vec<String>
One or more origins you want customers to be able to access the bucket from.
expose_headers: Option<Vec<String>>
One or more headers in the response that you want customers to be able to access from their applications (for example, from a JavaScript XMLHttpRequest object).
max_age_seconds: Option<i64>
The time in seconds that your browser is to cache the preflight response for the specified resource.
Trait Implementations
impl PartialEq<CORSRule> for CORSRule
[src]
impl Default for CORSRule
[src]
impl Clone for CORSRule
[src]
fn clone(&self) -> CORSRule
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for CORSRule
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self