pub struct Builder { /* private fields */ }Implementations§
Source§impl Builder
impl Builder
pub fn new() -> Builder
pub fn new_with_auth(key: &str, secret: &str) -> Builder
pub fn method(self, method: Method) -> Builder
pub fn uri(self, uri: Uri) -> Builder
pub fn version(self, version: Version) -> Builder
pub fn header(self, key: &str, value: &str) -> Builder
pub fn body(self, body: &Vec<u8>) -> Builder
pub fn build(self) -> Request<Body>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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