pub type FutureStat<F> = OperatorFuture<StatOptions, Metadata, F>;
Expand description
Future that generated by Operator::stat_with
.
Users can add more options by public functions provided by this struct.
Aliased Type§
struct FutureStat<F> { /* private fields */ }
Implementations§
Source§impl<F: Future<Output = Result<Metadata>>> FutureStat<F>
impl<F: Future<Output = Result<Metadata>>> FutureStat<F>
Sourcepub fn if_match(self, v: &str) -> Self
pub fn if_match(self, v: &str) -> Self
Set the If-Match for this operation.
Refer to options::StatOptions::if_match
for more details.
Sourcepub fn if_none_match(self, v: &str) -> Self
pub fn if_none_match(self, v: &str) -> Self
Set the If-None-Match for this operation.
Refer to options::StatOptions::if_none_match
for more details.
Sourcepub fn if_modified_since(self, v: DateTime<Utc>) -> Self
pub fn if_modified_since(self, v: DateTime<Utc>) -> Self
Set the If-Modified-Since for this operation.
Refer to options::StatOptions::if_modified_since
for more details.
Sourcepub fn if_unmodified_since(self, v: DateTime<Utc>) -> Self
pub fn if_unmodified_since(self, v: DateTime<Utc>) -> Self
Set the If-Unmodified-Since for this operation.
Refer to options::StatOptions::if_unmodified_since
for more details.
Sourcepub fn version(self, v: &str) -> Self
pub fn version(self, v: &str) -> Self
Set the version for this operation.
Refer to options::StatOptions::version
for more details.