pub struct DataExplorerApi { /* private fields */ }Expand description
KV data explorer for admin diagnostics
Implementations§
Source§impl DataExplorerApi
impl DataExplorerApi
Sourcepub async fn delete_data_explorer_value(
&self,
params: &DeleteDataExplorerValueParams,
) -> Result<DeleteDataExplorerValueResponse>
pub async fn delete_data_explorer_value( &self, params: &DeleteDataExplorerValueParams, ) -> Result<DeleteDataExplorerValueResponse>
Delete KV value
DELETE /api/v1/admin/data-explorer/value
Required scopes: admin.
Sourcepub async fn get_data_explorer_value(
&self,
params: &GetDataExplorerValueParams,
) -> Result<GetDataExplorerValueResponse>
pub async fn get_data_explorer_value( &self, params: &GetDataExplorerValueParams, ) -> Result<GetDataExplorerValueResponse>
Get KV value
GET /api/v1/admin/data-explorer/value
Required scopes: admin.
Sourcepub async fn list_data_explorer_keys(
&self,
params: &ListDataExplorerKeysParams,
) -> Result<ListDataExplorerKeysResponse>
pub async fn list_data_explorer_keys( &self, params: &ListDataExplorerKeysParams, ) -> Result<ListDataExplorerKeysResponse>
List keys
GET /api/v1/admin/data-explorer/keys
Required scopes: admin.
Sourcepub fn list_data_explorer_keys_all<'a>(
&'a self,
params: &'a ListDataExplorerKeysParams,
) -> impl Stream<Item = Result<Map<String, Value>>> + 'a
pub fn list_data_explorer_keys_all<'a>( &'a self, params: &'a ListDataExplorerKeysParams, ) -> impl Stream<Item = Result<Map<String, Value>>> + 'a
Stream every item returned by listDataExplorerKeys, following the cursor cursor until
the server reports no further pages.
Sourcepub async fn list_data_explorer_namespaces(
&self,
) -> Result<ListDataExplorerNamespacesResponse>
pub async fn list_data_explorer_namespaces( &self, ) -> Result<ListDataExplorerNamespacesResponse>
List KV namespaces
GET /api/v1/admin/data-explorer/namespaces
Required scopes: admin.
Sourcepub async fn set_data_explorer_value(
&self,
body: &SetDataExplorerValueRequest,
) -> Result<SetDataExplorerValueResponse>
pub async fn set_data_explorer_value( &self, body: &SetDataExplorerValueRequest, ) -> Result<SetDataExplorerValueResponse>
Set KV value
PUT /api/v1/admin/data-explorer/value
Required scopes: admin.
Trait Implementations§
Source§impl Clone for DataExplorerApi
impl Clone for DataExplorerApi
Source§fn clone(&self) -> DataExplorerApi
fn clone(&self) -> DataExplorerApi
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for DataExplorerApi
impl !UnwindSafe for DataExplorerApi
impl Freeze for DataExplorerApi
impl Send for DataExplorerApi
impl Sync for DataExplorerApi
impl Unpin for DataExplorerApi
impl UnsafeUnpin for DataExplorerApi
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