pub struct KVReadKeyQuery {
pub dc: Option<String>,
pub recurse: Option<bool>,
pub raw: Option<bool>,
pub keys: Option<bool>,
pub separator: Option<String>,
}
Fields§
§dc: Option<String>
Specifies the datacenter to query. This will default to the datacenter of the agent being queried.
recurse: Option<bool>
Specifies if the lookup should be recursive and treat key as a prefix instead of a literal match.
raw: Option<bool>
Specifies the response is just the raw value of the key, without any encoding or metadata.
keys: Option<bool>
Specifies to return only keys (no values or metadata). Specifying this parameter implies recurse.
separator: Option<String>
Specifies the string to use as a separator for recursive key lookups. This option is only used when paired with the keys parameter to limit the prefix of keys returned, only up to the given separator.
Trait Implementations§
Source§impl Debug for KVReadKeyQuery
impl Debug for KVReadKeyQuery
Source§impl Default for KVReadKeyQuery
impl Default for KVReadKeyQuery
Source§fn default() -> KVReadKeyQuery
fn default() -> KVReadKeyQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KVReadKeyQuery
impl<'de> Deserialize<'de> for KVReadKeyQuery
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
Auto Trait Implementations§
impl Freeze for KVReadKeyQuery
impl RefUnwindSafe for KVReadKeyQuery
impl Send for KVReadKeyQuery
impl Sync for KVReadKeyQuery
impl Unpin for KVReadKeyQuery
impl UnwindSafe for KVReadKeyQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more