pub struct RecordField {
pub id: String,
pub primary: bool,
pub ty: Type,
pub value: Value,
}Expand description
A DB record field
Fields§
§id: StringID
primary: boolIs primary key
ty: TypeType
value: ValueValue
Trait Implementations§
Source§impl Clone for RecordField
impl Clone for RecordField
Source§fn clone(&self) -> RecordField
fn clone(&self) -> RecordField
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 moreAuto Trait Implementations§
impl Freeze for RecordField
impl RefUnwindSafe for RecordField
impl Send for RecordField
impl Sync for RecordField
impl Unpin for RecordField
impl UnwindSafe for RecordField
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