aimo-client 0.3.0

AiMo Network REST API types and client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use aimo_core::provider::ProviderMetadata;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct RegisterProviderRequest {
    pub metadata: ProviderMetadata,
    pub signature: String,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct RegisterProviderResponse {
    pub success: bool,
    pub message: String,
}