Skip to main content
pub struct AlterTierRequestOptions 
    pub capacity: String,
    pub high_watermark: String,
    pub low_watermark: String,
    pub wait_timeout: String,
    pub persist: String,
    pub rank: String,

Optional parameters for the /alter/tier endpoint.

Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.

Fields

capacity: String

Maximum size in bytes this tier may hold at once, per rank.

high_watermark: String

Threshold of usage of this tier’s resource that once exceeded, will trigger watermark-based eviction from this tier.

low_watermark: String

Threshold of resource usage that once fallen below after crossing the high_watermark, will cease watermark-based eviction from this tier.

wait_timeout: String

Timeout in seconds for reading from or writing to this resource. Applies to cold storage tiers only.

persist: String

If true the system configuration will be written to disk upon successful application of this request. This will commit the changes from this request and any additional in-memory modifications. Server default: true.

rank: String

Apply the requested change only to a specific rank.

Implementations

Converts the set (non-empty) options into the wire-format string map.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more