pub enum Gs1ValueRejection {
Empty,
TooLong {
chars: usize,
},
OutsideCset82(char),
}Expand description
Why a candidate AI 10 or AI 21 value cannot be printed.
Variants§
Empty
No characters at all. X..20 has a minimum of one.
TooLong
More than the AI allows — MAX_GS1_LOT_CHARS or
MAX_GS1_SERIAL_CHARS — counted in characters.
OutsideCset82(char)
A character outside CSET 82 — the first one met.
Trait Implementations§
Source§impl Clone for Gs1ValueRejection
impl Clone for Gs1ValueRejection
impl Copy for Gs1ValueRejection
Source§impl Debug for Gs1ValueRejection
impl Debug for Gs1ValueRejection
impl Eq for Gs1ValueRejection
Source§impl PartialEq for Gs1ValueRejection
impl PartialEq for Gs1ValueRejection
impl StructuralPartialEq for Gs1ValueRejection
Auto Trait Implementations§
impl Freeze for Gs1ValueRejection
impl RefUnwindSafe for Gs1ValueRejection
impl Send for Gs1ValueRejection
impl Sync for Gs1ValueRejection
impl Unpin for Gs1ValueRejection
impl UnsafeUnpin for Gs1ValueRejection
impl UnwindSafe for Gs1ValueRejection
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