pub struct Ser<'a, T: 'a>(_);
Expand description
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.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Ser<'a, T> where
T: RefUnwindSafe,
impl<'a, T> Send for Ser<'a, T> where
T: Sync,
impl<'a, T> Sync for Ser<'a, T> where
T: Sync,
impl<'a, T> Unpin for Ser<'a, T>
impl<'a, T> UnwindSafe for Ser<'a, T> where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more