pub struct CORSConf {
pub origins: Option<RUMVec<RUMString>>,
pub methods: Option<RUMVec<RUMString>>,
pub headers: Option<RUMVec<RUMString>>,
pub allow_credentials: bool,
pub allow_private_network: bool,
}Fields§
§origins: Option<RUMVec<RUMString>>§methods: Option<RUMVec<RUMString>>§headers: Option<RUMVec<RUMString>>§allow_credentials: bool§allow_private_network: boolImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CORSConf
impl<'de> Deserialize<'de> for CORSConf
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
impl StructuralPartialEq for CORSConf
Auto Trait Implementations§
impl Freeze for CORSConf
impl RefUnwindSafe for CORSConf
impl Send for CORSConf
impl Sync for CORSConf
impl Unpin for CORSConf
impl UnsafeUnpin for CORSConf
impl UnwindSafe for CORSConf
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