opennode 1.0.0

API bindings for the Opennode v1 HTTP API
Documentation
1
2
3
4
5
6
7
8
9
use serde::{Deserialize, Serialize};

/// RequestError is the error format returned by Opennode API.
/// Example: `{\"success\":false,\"message\":\"Failed to authenticate token\"}"`
#[derive(Debug, Serialize, Deserialize)]
pub struct RequestError {
    pub success: bool,
    pub message: String,
}