Function read
pub fn read(text: &str) -> Result<FpmlTrade, FpmlError>Expand description
Reads the first trade of an FpML 5 confirmation document, as the first party the document declares.
ยงErrors
FpmlError naming what could not be read: a namespace other than the
confirmation view, a missing element, an element the reader does not
support, an index the registry does not carry, a value that does not
parse, or terms that do not build into a schedule or a swap.