pub struct GetBuilder { /* private fields */ }Expand description
A get request builder.
Implementations§
Source§impl GetBuilder
impl GetBuilder
Sourcepub fn decompress(self, decompress: bool) -> Self
pub fn decompress(self, decompress: bool) -> Self
Indicates whether the request should automatically handle decompression of known algorithms, or rather return the payload as it is stored, along with the compression algorithm it is stored in.
By default, automatic decompression is enabled.
Sourcepub async fn send(self) -> Result<Option<GetResponse>>
pub async fn send(self) -> Result<Option<GetResponse>>
Sends the get request.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetBuilder
impl !RefUnwindSafe for GetBuilder
impl Send for GetBuilder
impl Sync for GetBuilder
impl Unpin for GetBuilder
impl !UnwindSafe for GetBuilder
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