pub struct RelationDef {
pub in_tables: Vec<Spanned<String>>,
pub out_tables: Vec<Spanned<String>>,
pub span: ByteRange,
}Expand description
The IN/OUT endpoint tables of a relation table.
Fields§
§in_tables: Vec<Spanned<String>>Allowed in endpoint tables.
out_tables: Vec<Spanned<String>>Allowed out endpoint tables.
span: ByteRangeThe whole TYPE RELATION ... clause.
Trait Implementations§
Source§impl Clone for RelationDef
impl Clone for RelationDef
Source§fn clone(&self) -> RelationDef
fn clone(&self) -> RelationDef
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 RelationDef
impl Debug for RelationDef
Source§impl PartialEq for RelationDef
impl PartialEq for RelationDef
impl StructuralPartialEq for RelationDef
Auto Trait Implementations§
impl Freeze for RelationDef
impl RefUnwindSafe for RelationDef
impl Send for RelationDef
impl Sync for RelationDef
impl Unpin for RelationDef
impl UnsafeUnpin for RelationDef
impl UnwindSafe for RelationDef
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