fyers-rs 0.0.1

Idiomatic async Rust client for the Fyers API v3 broker APIs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Common response models shared across Fyers APIs.

use serde::{Deserialize, Serialize};

/// Common Fyers response status envelope fields.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub struct ApiStatus {
    /// Broker-specific numeric code.
    pub code: i64,
    /// Broker status string, commonly `ok` or `error`.
    pub s: String,
    /// Human-readable broker message.
    pub message: String,
}