pub struct SpecifierMapEntry<'a> {
    pub key: &'a str,
    pub raw_key: &'a str,
    pub value: Option<&'a Url>,
    pub raw_value: Option<&'a str>,
}
Expand description

A key value entry in an import map’s “imports”, or imports of a scope.

Fields

key: &'a str

Resolved key.

raw_key: &'a str

Text of the key in the import map file.

value: Option<&'a Url>

Resolved value.

raw_value: Option<&'a str>

Text of the value found in the import map file.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.