// Generated automatically by schema_generator.rs - DO NOT EDIT.
// Source: ./deriv-api-docs/config/v3/mt5_login_list/receive.json
// Use direct crate names for imports within generated files
use serde::{Deserialize, Serialize};
// Import shared types from the *same* crate
use crate::environment::Environment;
use crate::geolocation::Geolocation;
// It's a struct
/// Trade server information.
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "snake_case")]
pub struct ServerInfo {
/// The environment. E.g. Deriv-Server.\n
// Correct serde attribute construction - Use helper
#[serde(skip_serializing_if = "Option::is_none")]
pub environment: Option<Environment>,
/// Geographical location of the server.\n
// Correct serde attribute construction - Use helper
#[serde(skip_serializing_if = "Option::is_none")]
pub geolocation: Option<Geolocation>,
/// Server id.\n
// Correct serde attribute construction - Use helper
#[serde(skip_serializing_if = "Option::is_none")]
pub id: Option<String>,
}