pub struct RawEntry {
pub name: String,
pub comment: Option<String>,
pub integer_width: Option<u8>,
pub array_size: Option<usize>,
pub unsigned: bool,
pub primary_key: bool,
pub inline: bool,
pub relation: bool,
}
Expand description
Entry for specific column in a RawDefinition
.
Does not have information contained under COLUMNS
.
Use Entry
for that instead.
Fields§
§name: String
Name of the column.
comment: Option<String>
Comment placed after the column definition with //
.
integer_width: Option<u8>
Integer width of the type.
array_size: Option<usize>
If the type is an array, this is the size.
unsigned: bool
Signedness of integer types.
primary_key: bool
True if the column is a primary key in the current 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.
Implementations§
Trait Implementations§
Source§impl Ord for RawEntry
impl Ord for RawEntry
Source§impl PartialOrd for RawEntry
impl PartialOrd for RawEntry
impl Eq for RawEntry
impl StructuralPartialEq for RawEntry
Auto Trait Implementations§
impl Freeze for RawEntry
impl RefUnwindSafe for RawEntry
impl Send for RawEntry
impl Sync for RawEntry
impl Unpin for RawEntry
impl UnwindSafe for RawEntry
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