pub struct Schema {
pub table_name: &'static str,
pub primary_key: &'static str,
pub secondary_tables_name: HashSet<&'static str>,
}
Expand description
Schema of the Item. Returned by the <your_item>::struct_db_schema()
method.
Fields§
§table_name: &'static str
§primary_key: &'static str
§secondary_tables_name: HashSet<&'static str>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Schema
impl Send for Schema
impl Sync for Schema
impl Unpin for Schema
impl UnwindSafe for Schema
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