Struct spacetimedb_lib::ModuleDef
source · pub struct ModuleDef {
pub typespace: Typespace,
pub tables: Vec<TableDef>,
pub reducers: Vec<ReducerDef>,
pub misc_exports: Vec<MiscModuleExport>,
}Fields§
§typespace: Typespace§tables: Vec<TableDef>§reducers: Vec<ReducerDef>§misc_exports: Vec<MiscModuleExport>Trait Implementations§
source§impl<'de> Deserialize<'de> for ModuleDef
impl<'de> Deserialize<'de> for ModuleDef
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Auto Trait Implementations§
impl RefUnwindSafe for ModuleDef
impl Send for ModuleDef
impl Sync for ModuleDef
impl Unpin for ModuleDef
impl UnwindSafe for ModuleDef
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