pub struct AllowCredentials(/* private fields */);Expand description
Configuration for the Access-Control-Allow-Credentials header.
Implementations§
Trait Implementations§
Source§impl Clone for AllowCredentials
impl Clone for AllowCredentials
Source§fn clone(&self) -> AllowCredentials
fn clone(&self) -> AllowCredentials
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AllowCredentials
impl Debug for AllowCredentials
Source§impl Default for AllowCredentials
impl Default for AllowCredentials
Source§fn default() -> AllowCredentials
fn default() -> AllowCredentials
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for AllowCredentials
impl !UnwindSafe for AllowCredentials
impl Freeze for AllowCredentials
impl Send for AllowCredentials
impl Sync for AllowCredentials
impl Unpin for AllowCredentials
impl UnsafeUnpin for AllowCredentials
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