Struct etcd::kv::GetOptions [] [src]

pub struct GetOptions {
    pub recursive: bool,
    pub sort: bool,
    pub strong_consistency: bool,
}

Options for customizing the behavior of kv::get.

Fields

If true and the node is a directory, child nodes will be returned as well.

If true and the node is a directory, any child nodes returned will be sorted alphabetically.

If true, the etcd node serving the response will synchronize with the quorum before returning the value.

This is slower but avoids possibly stale data from being returned.

Trait Implementations

impl Clone for GetOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for GetOptions
[src]

impl Debug for GetOptions
[src]

Formats the value using the given formatter.

impl Default for GetOptions
[src]

Returns the "default value" for a type. Read more

impl Eq for GetOptions
[src]

impl Hash for GetOptions
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for GetOptions
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.