Enum stdweb::web::CrossOriginSetting [] [src]

pub enum CrossOriginSetting {
    None,
    Anonymous,
    UseCredentials,
}

Represents CORS (Cross Origin Resource Sharing) setting for an HTML element.

(JavaScript docs)

Variants

CORS is not used for this element.

CORS requests for this element will not have the credentials flag set.

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for CrossOriginSetting
[src]

impl Debug for CrossOriginSetting
[src]

[src]

Formats the value using the given formatter.

impl Eq for CrossOriginSetting
[src]

impl PartialEq for CrossOriginSetting
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.