pub struct KVReadKeyRequestQuery {
pub key: String,
pub dc: Option<String>,
pub recurse: Option<bool>,
pub raw: Option<bool>,
pub keys: Option<bool>,
pub separator: Option<String>,
}Fields§
§key: StringSpecifies the path of the key to read.
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 KVReadKeyRequestQuery
impl Debug for KVReadKeyRequestQuery
Source§impl Default for KVReadKeyRequestQuery
impl Default for KVReadKeyRequestQuery
Source§fn default() -> KVReadKeyRequestQuery
fn default() -> KVReadKeyRequestQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KVReadKeyRequestQuery
impl<'de> Deserialize<'de> for KVReadKeyRequestQuery
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 KVReadKeyRequestQuery
impl RefUnwindSafe for KVReadKeyRequestQuery
impl Send for KVReadKeyRequestQuery
impl Sync for KVReadKeyRequestQuery
impl Unpin for KVReadKeyRequestQuery
impl UnwindSafe for KVReadKeyRequestQuery
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