pub struct CobolField {
pub name: String,
pub value: CobolValue,
}Expand description
A named COBOL field.
Fields§
§name: StringThe COBOL data name (e.g. CUST-NAME).
value: CobolValueThe field’s decoded value.
Implementations§
Source§impl CobolField
impl CobolField
Trait Implementations§
Source§impl Clone for CobolField
impl Clone for CobolField
Source§fn clone(&self) -> CobolField
fn clone(&self) -> CobolField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CobolField
impl Debug for CobolField
impl Eq for CobolField
Source§impl PartialEq for CobolField
impl PartialEq for CobolField
Source§fn eq(&self, other: &CobolField) -> bool
fn eq(&self, other: &CobolField) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CobolField
Auto Trait Implementations§
impl Freeze for CobolField
impl RefUnwindSafe for CobolField
impl Send for CobolField
impl Sync for CobolField
impl Unpin for CobolField
impl UnsafeUnpin for CobolField
impl UnwindSafe for CobolField
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