pub struct AttributeDef {
pub id: u32,
pub name: String,
pub format: AttributeFormat,
}Expand description
One attribute of a relation.
Fields§
§id: u32§name: StringDisplay name: the schema’s string name, else the four-char code of id.
format: AttributeFormatTrait Implementations§
Source§impl Clone for AttributeDef
impl Clone for AttributeDef
Source§fn clone(&self) -> AttributeDef
fn clone(&self) -> AttributeDef
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 AttributeDef
impl Debug for AttributeDef
impl Eq for AttributeDef
Source§impl PartialEq for AttributeDef
impl PartialEq for AttributeDef
impl StructuralPartialEq for AttributeDef
Auto Trait Implementations§
impl Freeze for AttributeDef
impl RefUnwindSafe for AttributeDef
impl Send for AttributeDef
impl Sync for AttributeDef
impl Unpin for AttributeDef
impl UnsafeUnpin for AttributeDef
impl UnwindSafe for AttributeDef
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