pub struct TableDefFrame {
pub name: String,
pub version: u32,
pub created_at: u64,
pub updated_at: u64,
pub columns: Vec<ColumnDefFrame>,
pub primary_key: Vec<String>,
pub indexes: Vec<IndexDefFrame>,
pub constraints: Vec<ConstraintFrame>,
}Expand description
A decoded table definition (RTBL) payload.
Fields§
§name: String§version: u32§created_at: u64§updated_at: u64§columns: Vec<ColumnDefFrame>§primary_key: Vec<String>§indexes: Vec<IndexDefFrame>§constraints: Vec<ConstraintFrame>Trait Implementations§
Source§impl Clone for TableDefFrame
impl Clone for TableDefFrame
Source§fn clone(&self) -> TableDefFrame
fn clone(&self) -> TableDefFrame
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 TableDefFrame
impl Debug for TableDefFrame
impl Eq for TableDefFrame
Source§impl PartialEq for TableDefFrame
impl PartialEq for TableDefFrame
impl StructuralPartialEq for TableDefFrame
Auto Trait Implementations§
impl Freeze for TableDefFrame
impl RefUnwindSafe for TableDefFrame
impl Send for TableDefFrame
impl Sync for TableDefFrame
impl Unpin for TableDefFrame
impl UnsafeUnpin for TableDefFrame
impl UnwindSafe for TableDefFrame
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