Enum stdweb::web::CrossOriginSetting [−][src]
pub enum CrossOriginSetting { None, Anonymous, UseCredentials, }
Represents CORS (Cross Origin Resource Sharing) setting for an HTML element.
Variants
None
CORS is not used for this element.
Anonymous
CORS requests for this element will not have the credentials flag set.
UseCredentials
CORS requests for this element will have the credentials flag set; this means the request will provide credentials.
Trait Implementations
impl Clone for CrossOriginSetting
[src]
impl Clone for CrossOriginSetting
fn clone(&self) -> CrossOriginSetting
[src]
fn clone(&self) -> CrossOriginSetting
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for CrossOriginSetting
[src]
impl Copy for CrossOriginSetting
impl Debug for CrossOriginSetting
[src]
impl Debug for CrossOriginSetting
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for CrossOriginSetting
[src]
impl Eq for CrossOriginSetting
impl PartialEq for CrossOriginSetting
[src]
impl PartialEq for CrossOriginSetting
Auto Trait Implementations
impl Send for CrossOriginSetting
impl Send for CrossOriginSetting
impl Sync for CrossOriginSetting
impl Sync for CrossOriginSetting