pub enum AccessControlAllowHeaders {
Only(Vec<String, Global>),
Any,
}
Expand description
Headers allowed to access
Variants§
Trait Implementations§
source§impl Clone for AccessControlAllowHeaders
impl Clone for AccessControlAllowHeaders
source§fn clone(&self) -> AccessControlAllowHeaders
fn clone(&self) -> AccessControlAllowHeaders
Returns a copy 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 AccessControlAllowHeaders
impl Debug for AccessControlAllowHeaders
source§impl PartialEq<AccessControlAllowHeaders> for AccessControlAllowHeaders
impl PartialEq<AccessControlAllowHeaders> for AccessControlAllowHeaders
source§fn eq(&self, other: &AccessControlAllowHeaders) -> bool
fn eq(&self, other: &AccessControlAllowHeaders) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccessControlAllowHeaders
Auto Trait Implementations§
impl RefUnwindSafe for AccessControlAllowHeaders
impl Send for AccessControlAllowHeaders
impl Sync for AccessControlAllowHeaders
impl Unpin for AccessControlAllowHeaders
impl UnwindSafe for AccessControlAllowHeaders
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