pub struct CorsSettings {
pub allow_http_options: Option<bool>,
}Expand description
Allows customers to configure HTTP request paths that’ll allow HTTP OPTIONS call to bypass authentication and authorization.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allow_http_options: Option<bool>Configuration to allow HTTP OPTIONS calls to skip authentication and authorization. If undefined, IAP will not apply any special logic to OPTIONS requests.
Trait Implementations§
Source§impl Clone for CorsSettings
impl Clone for CorsSettings
Source§fn clone(&self) -> CorsSettings
fn clone(&self) -> CorsSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CorsSettings
impl Debug for CorsSettings
Source§impl Default for CorsSettings
impl Default for CorsSettings
Source§fn default() -> CorsSettings
fn default() -> CorsSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CorsSettings
impl<'de> Deserialize<'de> for CorsSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CorsSettings
impl Serialize for CorsSettings
impl Part for CorsSettings
Auto Trait Implementations§
impl Freeze for CorsSettings
impl RefUnwindSafe for CorsSettings
impl Send for CorsSettings
impl Sync for CorsSettings
impl Unpin for CorsSettings
impl UnwindSafe for CorsSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more