Type Alias FutureStat

Source
pub type FutureStat<F> = OperatorFuture<OpStat, 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>

Source

pub fn if_match(self, v: &str) -> Self

Set the If-Match for this operation.

Source

pub fn if_none_match(self, v: &str) -> Self

Set the If-None-Match for this operation.

Source

pub fn if_modified_since(self, v: DateTime<Utc>) -> Self

Set the If-Modified-Since for this operation.

Source

pub fn if_unmodified_since(self, v: DateTime<Utc>) -> Self

Set the If-Unmodified-Since for this operation.

Source

pub fn version(self, v: &str) -> Self

Set the version for this operation.