pub struct TableField {
pub name: String,
pub type_info: Option<String>,
pub constraint: Option<String>,
}Expand description
A field inside a sql_table or class node (D2)
Fields§
§name: String§type_info: Option<String>§constraint: Option<String>Trait Implementations§
Source§impl Clone for TableField
impl Clone for TableField
Source§fn clone(&self) -> TableField
fn clone(&self) -> TableField
Returns a duplicate of the value. Read more
1.0.0 · 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 TableField
impl Debug for TableField
Source§impl PartialEq for TableField
impl PartialEq for TableField
impl Eq for TableField
impl StructuralPartialEq for TableField
Auto Trait Implementations§
impl Freeze for TableField
impl RefUnwindSafe for TableField
impl Send for TableField
impl Sync for TableField
impl Unpin for TableField
impl UnwindSafe for TableField
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