1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Datto RMM API Client
//!
//! Auto-generated Rust client for the Datto RMM REST API.
//!
//! # Example
//!
//! ```no_run
//! use datto_api::{DattoClient, Platform, Credentials};
//!
//! #[tokio::main]
//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
//! let client = DattoClient::new(
//! Platform::Merlot,
//! Credentials {
//! api_key: std::env::var("DATTO_API_KEY")?,
//! api_secret: std::env::var("DATTO_API_SECRET")?,
//! },
//! ).await?;
//!
//! // Use the client...
//! Ok(())
//! }
//! ```
pub use ;
pub use ;
// Generated API types
pub use *;