pub struct S3Request<T> {
pub input: T,
pub credentials: Option<Credentials>,
pub headers: HeaderMap,
}Expand description
An S3 request wrapping an input type with credentials and headers.
Fields§
§input: TThe input payload.
credentials: Option<Credentials>Optional credentials for the request.
headers: HeaderMapAdditional HTTP headers.
Implementations§
Source§impl<T> S3Request<T>
impl<T> S3Request<T>
Sourcepub fn with_credentials(self, credentials: Credentials) -> Self
pub fn with_credentials(self, credentials: Credentials) -> Self
Set the credentials for this request.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for S3Request<T>where
T: Freeze,
impl<T> RefUnwindSafe for S3Request<T>where
T: RefUnwindSafe,
impl<T> Send for S3Request<T>where
T: Send,
impl<T> Sync for S3Request<T>where
T: Sync,
impl<T> Unpin for S3Request<T>where
T: Unpin,
impl<T> UnsafeUnpin for S3Request<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for S3Request<T>where
T: UnwindSafe,
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