pub struct RealmTable {
pub name: String,
pub columns: Vec<(String, ColumnType)>,
pub rows: Vec<Row>,
}Expand description
A parsed Realm table: schema + rows.
Fields§
§name: StringTable name as stored in the Realm file (e.g. "class_BlockDataModel").
columns: Vec<(String, ColumnType)>Column definitions in declaration order: (column_name, column_type).
rows: Vec<Row>All rows in the table.
Implementations§
Source§impl RealmTable
impl RealmTable
Trait Implementations§
Source§impl Clone for RealmTable
impl Clone for RealmTable
Source§fn clone(&self) -> RealmTable
fn clone(&self) -> RealmTable
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 moreAuto Trait Implementations§
impl Freeze for RealmTable
impl RefUnwindSafe for RealmTable
impl Send for RealmTable
impl Sync for RealmTable
impl Unpin for RealmTable
impl UnsafeUnpin for RealmTable
impl UnwindSafe for RealmTable
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