Skip to main content

longbridge/asset/requests/
get_statement.rs

1use serde::Serialize;
2
3/// Options for get statement data download url request
4#[derive(Debug, Serialize, Clone)]
5pub struct GetStatementOptions {
6    file_key: String,
7}
8
9impl GetStatementOptions {
10    /// Create a new `GetStatementDataDownloadUrlOptions`
11    #[inline]
12    pub fn new(file_key: impl Into<String>) -> Self {
13        Self {
14            file_key: file_key.into(),
15        }
16    }
17}