longbridge 4.2.1

Longbridge OpenAPI SDK for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use serde::Serialize;

/// Options for get statement data download url request
#[derive(Debug, Serialize, Clone)]
pub struct GetStatementOptions {
    file_key: String,
}

impl GetStatementOptions {
    /// Create a new `GetStatementDataDownloadUrlOptions`
    #[inline]
    pub fn new(file_key: impl Into<String>) -> Self {
        Self {
            file_key: file_key.into(),
        }
    }
}