Struct futhorc::url::Url

source · []
pub struct Url(_);
Expand description

A newtype for URL strings, analogous to str.

Implementations

Construct a new &Url from any AsRef<str>.

Join any AsRef<str> to the &Url.

Create a UrlBuf from the current &Url.

Return the str representation of the current &Url.

Trait Implementations

Converts this type into a shared reference of the (usually inferred) input type.

Converts this type into a shared reference of the (usually inferred) input type.

Immutably borrows from an owned value. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Converts to this type from the input type.

Returns the owned UrlBuf corresponding to the current &Url.

The resulting type after obtaining ownership.

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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

Converts the given value to a String. Read more