Type Alias dapr::client::DeleteStateRequest

source ·
pub type DeleteStateRequest = DeleteStateRequest;
Expand description

A request for deleting state

Aliased Type§

struct DeleteStateRequest {
    pub store_name: String,
    pub key: String,
    pub etag: Option<Etag>,
    pub options: Option<StateOptions>,
    pub metadata: HashMap<String, String>,
}

Fields§

§store_name: String

The name of state store.

§key: String

The key of the desired state

§etag: Option<Etag>

The entity tag which represents the specific version of data. The exact ETag format is defined by the corresponding data store.

§options: Option<StateOptions>

State operation options which includes concurrency/ consistency/retry_policy.

§metadata: HashMap<String, String>

The metadata which will be sent to state store components.