pub struct Ser<'a, T: 'a>(/* private fields */);
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> Freeze for Ser<'a, T>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more