pub enum Convert {
Chars {
justified: bool,
},
National,
Dbcs,
Float(Precision),
Fixed {
integers: u32,
},
Refused(u32),
Scaled {
integers: u32,
scaling: u32,
},
}Expand description
An elementary item’s value as JSON and XML GENERATE write it.
Variants§
Chars
Alphanumeric and edited items, and a group with no members: its bytes decoded in the
program’s code page, trimmed of trailing spaces, or of leading ones when justified.
National
UTF-16 units, trimmed of trailing spaces.
Dbcs
DBCS characters through the code page’s DBCS component, trimmed as Chars is.
Float(Precision)
COMP-1 (8 decimals) or COMP-2 (17).
Fixed
Zoned, packed, binary and index items: the value, read as its kind reads it, with at least
integers integer positions before the leading zeros are trimmed.
Refused(u32)
A pointer, procedure-pointer or object reference: this IRONWORK abend when it is reached.
Scaled
Fixed of an item whose PICTURE has scaling positions P right of its digits.
Trait Implementations§
impl Copy for Convert
impl Eq for Convert
impl StructuralPartialEq for Convert
Auto Trait Implementations§
impl Freeze for Convert
impl RefUnwindSafe for Convert
impl Send for Convert
impl Sync for Convert
impl Unpin for Convert
impl UnsafeUnpin for Convert
impl UnwindSafe for Convert
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