pub enum AccessControlAllowHeaders {
Only(Vec<String>),
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
impl StructuralPartialEq for AccessControlAllowHeaders
Auto Trait Implementations§
impl Freeze for AccessControlAllowHeaders
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