#[non_exhaustive]pub struct VersionMismatch {
pub code: SegmentType,
pub offered: Vec<u16>,
pub implemented: Vec<u16>,
pub formats: Option<Box<FormatLists>>,
}Available on non-crate feature
tooling only.Expand description
No version of a job is both offered by the bank and implemented by us.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.code: SegmentTypeThe order code, e.g. HKSAL.
offered: Vec<u16>The versions the BPD offers, ascending (empty: the job is not in the BPD).
implemented: Vec<u16>The versions we implement, as given.
formats: Option<Box<FormatLists>>For a data format (code pain.001): both lists; None for
order versions.
Trait Implementations§
Source§impl Clone for VersionMismatch
impl Clone for VersionMismatch
Source§impl Debug for VersionMismatch
impl Debug for VersionMismatch
Source§impl Display for VersionMismatch
impl Display for VersionMismatch
impl Eq for VersionMismatch
Source§impl Error for VersionMismatch
impl Error for VersionMismatch
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for VersionMismatch
impl PartialEq for VersionMismatch
Source§impl Serialize for VersionMismatch
impl Serialize for VersionMismatch
impl StructuralPartialEq for VersionMismatch
Auto Trait Implementations§
impl Forget for VersionMismatch
impl Freeze for VersionMismatch
impl Move for VersionMismatch
impl RefUnwindSafe for VersionMismatch
impl Send for VersionMismatch
impl Sync for VersionMismatch
impl Unpin for VersionMismatch
impl UnsafeUnpin for VersionMismatch
impl UnwindSafe for VersionMismatch
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