pub struct DetectResult {
pub format_version: &'static str,
pub message_type: String,
pub unh_version: String,
pub note: Option<String>,
}Expand description
Result of a successful format-version detection.
format_version is a BDEW format version string like "FV2504". note is
Some when the UNH version string matched multiple format versions and the
newest one was picked.
Fields§
§format_version: &'static strBDEW format version, e.g. "FV2504".
message_type: StringEDIFACT message type from UNH S009.0065, e.g. "UTILMD".
unh_version: StringRaw UNH version string from S009.0054, e.g. "S2.1c".
note: Option<String>Set when multiple format versions matched and the newest was selected.
Trait Implementations§
Source§impl Clone for DetectResult
impl Clone for DetectResult
Source§fn clone(&self) -> DetectResult
fn clone(&self) -> DetectResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DetectResult
impl Debug for DetectResult
Source§impl PartialEq for DetectResult
impl PartialEq for DetectResult
impl Eq for DetectResult
impl StructuralPartialEq for DetectResult
Auto Trait Implementations§
impl Freeze for DetectResult
impl RefUnwindSafe for DetectResult
impl Send for DetectResult
impl Sync for DetectResult
impl Unpin for DetectResult
impl UnsafeUnpin for DetectResult
impl UnwindSafe for DetectResult
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