Struct url_serde::Ser [] [src]

pub struct Ser<'a, T: 'a>(_);

A wrapper to serialize rust-url types.

This is useful with functions such as serde_json::to_string.

Values of this type can only be passed to the serde::Serialize trait.

Methods

impl<'a, T> Ser<'a, T> where Ser<'a, T>: Serialize
[src]

Returns a new Ser wrapper.

Trait Implementations

impl<'a, T: Debug + 'a> Debug for Ser<'a, T>
[src]

Formats the value using the given formatter.

impl<'a> Serialize for Ser<'a, Url>
[src]

Serializes this URL into a serde stream.

Serialize this value into the given Serde serializer. Read more

impl<'a> Serialize for Ser<'a, Option<Url>>
[src]

Serializes this Option into a serde stream.

Serialize this value into the given Serde serializer. Read more