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]
fn new(value: &'a T) -> Self
Returns a new Ser
wrapper.
Trait Implementations
impl<'a, T: Debug + 'a> Debug for Ser<'a, T>
[src]
impl<'a> Serialize for Ser<'a, Url>
[src]
Serializes this URL into a serde
stream.