pub struct Entry {
pub name: String,
pub ty: Type,
pub comment: Option<String>,
pub column_comment: Option<String>,
pub verified: bool,
pub primary_key: bool,
pub inline: bool,
pub relation: bool,
}
Expand description
Specific entry or column in a DBC.
Fields§
§name: String
Name of the column.
ty: Type
Type of the column.
comment: Option<String>
Comment on the entry itself.
This applies to this specific entry and these versions.
column_comment: Option<String>
Comment on the column definition under COLUMNS
.
This applies to the column for all versions.
verified: bool
Column content is verified.
primary_key: bool
Column is a primary key in the table.
inline: bool
Data is stored inline with the row and not inside DB2 files.
relation: bool
True if the column is a foreign key.
Trait Implementations§
Source§impl Ord for Entry
impl Ord for Entry
Source§impl PartialOrd for Entry
impl PartialOrd for Entry
impl Eq for Entry
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnwindSafe for Entry
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