pub struct TerdocClient { /* private fields */ }
Implementations§
Source§impl TerdocClient
impl TerdocClient
pub fn set_user_agent(&mut self, user_agent: String)
pub fn user_agent(&self) -> &str
pub fn set_middleware( &mut self, middleware: fn(RequestBuilder) -> RequestBuilder, )
pub fn remove_middleware(&mut self)
Trait Implementations§
Source§impl Clone for TerdocClient
impl Clone for TerdocClient
Source§fn clone(&self) -> TerdocClient
fn clone(&self) -> TerdocClient
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 moreSource§impl Debug for TerdocClient
impl Debug for TerdocClient
Source§impl TerdocClient for TerdocClient
impl TerdocClient for TerdocClient
Source§impl TerdocStreamingClient for TerdocClient
impl TerdocStreamingClient for TerdocClient
Auto Trait Implementations§
impl Freeze for TerdocClient
impl !RefUnwindSafe for TerdocClient
impl Send for TerdocClient
impl Sync for TerdocClient
impl Unpin for TerdocClient
impl !UnwindSafe for TerdocClient
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