Expand description
§senhasegura-rs
Senhasegura API client for Rust.
See A2A - APIs.
§Example
use senhasegura_rs::{AccessProtectedInformationApi, SenhaseguraClient};
let base_url = "https://senhasegura.acme.com".parse()?;
let client_id = "client_id";
let client_secret = "client_secret";
let client = SenhaseguraClient::builder(base_url, client_id, client_secret).build()?;
// Access protected information
println!("{:#?}", client.access_protected_information(28).await?);
Re-exports§
pub use pam_core::*;
Modules§
- pam_
core - PAM Core APIs.
Structs§
- ApiError
- API error response.
- Exception
- Exception (i.e. “exception”) field.
- Response
- Response (i.e. “response”) field.
- Senhasegura
Client - Senhasegura API client.
- Senhasegura
Client Builder - Senhasegura API client builder.
- Status
Code - HTTP status code.
Enums§
- Error
- Errors that can occur when interacting with Senhasegura’s API.
- Exception
Code - Senhasegura API exception codes.
Traits§
- Senhasegura
Api - Trait to interact with Senhasegura APIs.