pub struct Relation {
pub record_type: RecordType,
pub name: Option<String>,
pub attributes: Vec<AttributeDef>,
}Fields§
§record_type: RecordType§name: Option<String>RelationName from the schema, when the file records one.
attributes: Vec<AttributeDef>Attributes in schema order, which is the record’s attribute order.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Relation
impl RefUnwindSafe for Relation
impl Send for Relation
impl Sync for Relation
impl Unpin for Relation
impl UnsafeUnpin for Relation
impl UnwindSafe for Relation
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