Struct hf_hub::api::sync::HeaderAgent
source · pub struct HeaderAgent { /* private fields */ }
Expand description
Simple wrapper over ureq::Agent
to include default headers
Trait Implementations§
source§impl Clone for HeaderAgent
impl Clone for HeaderAgent
source§fn clone(&self) -> HeaderAgent
fn clone(&self) -> HeaderAgent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for HeaderAgent
impl Send for HeaderAgent
impl Sync for HeaderAgent
impl Unpin for HeaderAgent
impl !UnwindSafe for HeaderAgent
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