Struct nomad_client_rs::models::query_options::QueryOptions
source · pub struct QueryOptions {
pub region: Option<String>,
pub namespace: Option<String>,
pub allow_stale: Option<bool>,
pub wait_index: Option<i32>,
pub wait_time: Option<i64>,
pub prefix: Option<String>,
pub params: Option<HashMap<String, String>>,
pub auth_token: Option<String>,
}
Fields§
§region: Option<String>
§namespace: Option<String>
§allow_stale: Option<bool>
§wait_index: Option<i32>
§wait_time: Option<i64>
§prefix: Option<String>
§params: Option<HashMap<String, String>>
§auth_token: Option<String>
Trait Implementations§
source§impl Clone for QueryOptions
impl Clone for QueryOptions
source§fn clone(&self) -> QueryOptions
fn clone(&self) -> QueryOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for QueryOptions
impl Debug for QueryOptions
source§impl Default for QueryOptions
impl Default for QueryOptions
source§fn default() -> QueryOptions
fn default() -> QueryOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for QueryOptions
impl<'de> Deserialize<'de> for QueryOptions
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more