pub struct GetObjectBuilder<'a, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with build().
Implementations§
Source§impl<'a, S: State> GetObjectBuilder<'a, S>
impl<'a, S: State> GetObjectBuilder<'a, S>
Sourcepub fn build(self) -> GetObject<'a>where
S: IsComplete,
pub fn build(self) -> GetObject<'a>where
S: IsComplete,
Finish building and return the requested object
Sourcepub fn range(self, value: &'a str) -> GetObjectBuilder<'a, SetRange<S>>where
S::Range: IsUnset,
pub fn range(self, value: &'a str) -> GetObjectBuilder<'a, SetRange<S>>where
S::Range: IsUnset,
Sourcepub fn maybe_range(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetRange<S>>where
S::Range: IsUnset,
pub fn maybe_range(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetRange<S>>where
S::Range: IsUnset,
Sourcepub fn if_modified_since(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetIfModifiedSince<S>>where
S::IfModifiedSince: IsUnset,
pub fn if_modified_since(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetIfModifiedSince<S>>where
S::IfModifiedSince: IsUnset,
Sourcepub fn maybe_if_modified_since(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetIfModifiedSince<S>>where
S::IfModifiedSince: IsUnset,
pub fn maybe_if_modified_since(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetIfModifiedSince<S>>where
S::IfModifiedSince: IsUnset,
Sourcepub fn if_unmodified_since(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetIfUnmodifiedSince<S>>where
S::IfUnmodifiedSince: IsUnset,
pub fn if_unmodified_since(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetIfUnmodifiedSince<S>>where
S::IfUnmodifiedSince: IsUnset,
Sourcepub fn maybe_if_unmodified_since(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetIfUnmodifiedSince<S>>where
S::IfUnmodifiedSince: IsUnset,
pub fn maybe_if_unmodified_since(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetIfUnmodifiedSince<S>>where
S::IfUnmodifiedSince: IsUnset,
Sourcepub fn if_match(self, value: &'a str) -> GetObjectBuilder<'a, SetIfMatch<S>>where
S::IfMatch: IsUnset,
pub fn if_match(self, value: &'a str) -> GetObjectBuilder<'a, SetIfMatch<S>>where
S::IfMatch: IsUnset,
Sourcepub fn maybe_if_match(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetIfMatch<S>>where
S::IfMatch: IsUnset,
pub fn maybe_if_match(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetIfMatch<S>>where
S::IfMatch: IsUnset,
Sourcepub fn if_none_match(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetIfNoneMatch<S>>where
S::IfNoneMatch: IsUnset,
pub fn if_none_match(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetIfNoneMatch<S>>where
S::IfNoneMatch: IsUnset,
Sourcepub fn maybe_if_none_match(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetIfNoneMatch<S>>where
S::IfNoneMatch: IsUnset,
pub fn maybe_if_none_match(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetIfNoneMatch<S>>where
S::IfNoneMatch: IsUnset,
Sourcepub fn accept_encoding(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetAcceptEncoding<S>>where
S::AcceptEncoding: IsUnset,
pub fn accept_encoding(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetAcceptEncoding<S>>where
S::AcceptEncoding: IsUnset,
Sourcepub fn maybe_accept_encoding(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetAcceptEncoding<S>>where
S::AcceptEncoding: IsUnset,
pub fn maybe_accept_encoding(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetAcceptEncoding<S>>where
S::AcceptEncoding: IsUnset,
Sourcepub fn response_content_language(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetResponseContentLanguage<S>>where
S::ResponseContentLanguage: IsUnset,
pub fn response_content_language(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetResponseContentLanguage<S>>where
S::ResponseContentLanguage: IsUnset,
Sourcepub fn maybe_response_content_language(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetResponseContentLanguage<S>>where
S::ResponseContentLanguage: IsUnset,
pub fn maybe_response_content_language(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetResponseContentLanguage<S>>where
S::ResponseContentLanguage: IsUnset,
Sourcepub fn response_expires(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetResponseExpires<S>>where
S::ResponseExpires: IsUnset,
pub fn response_expires(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetResponseExpires<S>>where
S::ResponseExpires: IsUnset,
Sourcepub fn maybe_response_expires(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetResponseExpires<S>>where
S::ResponseExpires: IsUnset,
pub fn maybe_response_expires(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetResponseExpires<S>>where
S::ResponseExpires: IsUnset,
Sourcepub fn response_cache_control(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetResponseCacheControl<S>>where
S::ResponseCacheControl: IsUnset,
pub fn response_cache_control(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetResponseCacheControl<S>>where
S::ResponseCacheControl: IsUnset,
Sourcepub fn maybe_response_cache_control(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetResponseCacheControl<S>>where
S::ResponseCacheControl: IsUnset,
pub fn maybe_response_cache_control(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetResponseCacheControl<S>>where
S::ResponseCacheControl: IsUnset,
Sourcepub fn response_content_disposition(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetResponseContentDisposition<S>>where
S::ResponseContentDisposition: IsUnset,
pub fn response_content_disposition(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetResponseContentDisposition<S>>where
S::ResponseContentDisposition: IsUnset,
Sourcepub fn maybe_response_content_disposition(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetResponseContentDisposition<S>>where
S::ResponseContentDisposition: IsUnset,
pub fn maybe_response_content_disposition(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetResponseContentDisposition<S>>where
S::ResponseContentDisposition: IsUnset,
Sourcepub fn response_content_encoding(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetResponseContentEncoding<S>>where
S::ResponseContentEncoding: IsUnset,
pub fn response_content_encoding(
self,
value: &'a str,
) -> GetObjectBuilder<'a, SetResponseContentEncoding<S>>where
S::ResponseContentEncoding: IsUnset,
Sourcepub fn maybe_response_content_encoding(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetResponseContentEncoding<S>>where
S::ResponseContentEncoding: IsUnset,
pub fn maybe_response_content_encoding(
self,
value: Option<&'a str>,
) -> GetObjectBuilder<'a, SetResponseContentEncoding<S>>where
S::ResponseContentEncoding: IsUnset,
Auto Trait Implementations§
impl<'a, S> Freeze for GetObjectBuilder<'a, S>
impl<'a, S = Empty> !RefUnwindSafe for GetObjectBuilder<'a, S>
impl<'a, S> Send for GetObjectBuilder<'a, S>
impl<'a, S> Sync for GetObjectBuilder<'a, S>
impl<'a, S> Unpin for GetObjectBuilder<'a, S>
impl<'a, S> UnsafeUnpin for GetObjectBuilder<'a, S>
impl<'a, S = Empty> !UnwindSafe for GetObjectBuilder<'a, S>
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