ibkr-flex-statement 0.3.6

Parser for InteractiveBrokers (IBKR) Flex-based query response XML broker statements.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::node_utils::NodeWrapper;
use anyhow::Result;
use chrono_tz::Tz;
use std::collections::HashMap;

pub trait StatementSection {
    fn from_node(node: &NodeWrapper) -> Result<Self>
    where
        Self: Sized;
}

pub trait StatementSectionWithTimezone {
    fn from_node(node: &NodeWrapper, timezone_map: &HashMap<String, Tz>) -> Result<Self>
    where
        Self: Sized;
}