#[non_exhaustive]pub enum Support {
Available {
code: &'static str,
version: u16,
formats: Vec<String>,
days_stored: Option<u32>,
},
NotOffered,
VersionMismatch {
offered: Vec<u16>,
implemented: Vec<u16>,
},
NoBpd,
}Expand description
Whether the BPD lets us send a job.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Available
The job would be sent as code in version. For
JobKind::Transactions code is HKCAZ or HKKAZ, whichever
transactions with Format::Auto would
use, and formats lists the camt formats the bank offers (empty
for MT940 and every other job).
Fields
§
days_stored: Option<u32>The bank’s storage period in days (Speicherzeitraum of
HIKAZS/HICAZS) for JobKind::Transactions; None for every
other job or when the BPD gives none. A statement range that
starts earlier is clamped by transactions.
NotOffered
The BPD has no parameter segment for the job.
VersionMismatch
The BPD offers versions, none of which we implement.
NoBpd
No BPD is known (no dialog has run, nothing cached).
Trait Implementations§
impl Eq for Support
impl StructuralPartialEq for Support
Auto Trait Implementations§
impl Forget for Support
impl Freeze for Support
impl Move for Support
impl RefUnwindSafe for Support
impl Send for Support
impl Sync for Support
impl Unpin for Support
impl UnsafeUnpin for Support
impl UnwindSafe for Support
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