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]
fn clone(&self) -> CrossOriginSetting
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for CrossOriginSetting
[src]
impl Debug for CrossOriginSetting
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more