Crate bitwarden_api_base

Crate bitwarden_api_base 

Source
Expand description

Base types and utilities for Bitwarden API clients.

This crate provides common functionality shared across all Bitwarden API client crates:

  • Configuration types for API clients
  • Error handling types
  • URL encoding and query parameter utilities

Modules§

configuration 🔒
Configuration types for API clients.
error 🔒
Error types for API operations.
util 🔒
Utility functions for API operations.

Structs§

Configuration
Configuration for an API client.
ResponseContent
Response content from a failed API call.

Enums§

AuthRequired
Marker struct used for endpoints that require authentication. It will be included in the request’s extensions to signal to the middleware that authentication is required.
ContentType
Content types supported by the API client.
Error
Errors that can occur during API operations.

Functions§

parse_deep_object
Parses a deep object (nested JSON) into flat query parameters.
urlencode
URL-encodes a string for use in query parameters.