pub struct Parser {
pub timezone_map: HashMap<String, Tz>,
}Expand description
Parser for interpreting the content of an InteractiveBrokers Flex-based XML statement.
§Examples
use anyhow::Result;
use ibkr_flex_statement::{Parser, Statement};
let statement_xml: &str = "<FlexQueryResponse>...</FlexQueryResponse>";
let parser = Parser::new().unwrap();
let statements: Vec<Statement> = parser.parse_flex_query_response(statement_xml).unwrap();Fields§
§timezone_map: HashMap<String, Tz>Implementations§
Auto Trait Implementations§
impl Freeze for Parser
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more