pub struct ExchangeSummary {
pub index: usize,
pub jobs: Vec<String>,
pub tan: Option<(String, String)>,
pub global: Vec<Code>,
pub segment: Vec<(String, Code)>,
pub error: Option<String>,
pub account: Option<String>,
pub retry_of: Option<usize>,
}Available on crate feature
trace only.Expand description
One exchange of a trace, read for a human: what was asked, what the
bank answered. Built by Trace::summary; never fails.
Fields§
§index: usizePosition in the trace, from 0.
jobs: Vec<String>Every non-envelope request segment except HKTAN, as CODE:version
((unreadable) if the request does not tokenize).
tan: Option<(String, String)>HKTAN’s process and the segment it refers to, e.g. ("4", "HKKAZ").
global: Vec<Code>The codes of HIRMG.
segment: Vec<(String, Code)>The codes of HIRMS, with the code of the request segment each refers to.
error: Option<String>The transport error, or (unreadable response).
account: Option<String>The exchange’s Exchange::account: the alias of the account it is
about.
retry_of: Option<usize>The exchange this one repeats with HKTAN after a 9075 answer.
Implementations§
Trait Implementations§
Source§impl Clone for ExchangeSummary
impl Clone for ExchangeSummary
Source§impl Debug for ExchangeSummary
impl Debug for ExchangeSummary
Source§impl Display for ExchangeSummary
impl Display for ExchangeSummary
impl Eq for ExchangeSummary
Source§impl PartialEq for ExchangeSummary
impl PartialEq for ExchangeSummary
impl StructuralPartialEq for ExchangeSummary
Auto Trait Implementations§
impl Forget for ExchangeSummary
impl Freeze for ExchangeSummary
impl Move for ExchangeSummary
impl RefUnwindSafe for ExchangeSummary
impl Send for ExchangeSummary
impl Sync for ExchangeSummary
impl Unpin for ExchangeSummary
impl UnsafeUnpin for ExchangeSummary
impl UnwindSafe for ExchangeSummary
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