pub struct UserAgent { /* private fields */ }Available on crate feature
client only.Expand description
Layer for inserting User-Agent into the request header.
See UserAgent::new for more details.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for UserAgent
impl RefUnwindSafe for UserAgent
impl Send for UserAgent
impl Sync for UserAgent
impl Unpin for UserAgent
impl UnwindSafe for UserAgent
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