pub struct ChannelsModule;Trait Implementations§
Source§impl AppModule for ChannelsModule
impl AppModule for ChannelsModule
fn name(&self) -> &'static str
fn schema(&self) -> SchemaSet
fn init(&self, context: &mut ModuleContext)
Source§fn migrations(&self) -> Vec<Migration>
fn migrations(&self) -> Vec<Migration>
Compiled migrations owned by this application, including portable
project modules. Legacy project registries may still be passed to Management.
Source§fn migration_path(&self) -> Option<&'static str>
fn migration_path(&self) -> Option<&'static str>
Writable source directory for makemigrations. None denotes a library
application whose migration sources are not managed by this project.
Source§fn sync_registry(&self) -> Option<Registry>
fn sync_registry(&self) -> Option<Registry>
Register server synchronization tables in the desired migration state.
Several modules may expose their registries; shared server metadata
tables are included once per database.
Source§fn schema_objects(&self) -> Vec<SchemaObjectState>
fn schema_objects(&self) -> Vec<SchemaObjectState>
Triggers and views owned by this application. Their
app field is
assigned from Self::name while collecting migration state.fn subscribe(&self, _state: &AppState)
fn start(&self, _state: &AppState)
fn middleware(&self, router: Router, _state: &AppState) -> Router
fn openapi(&self, _state: &AppState) -> Value
Source§impl Clone for ChannelsModule
impl Clone for ChannelsModule
impl Copy for ChannelsModule
Auto Trait Implementations§
impl Forget for ChannelsModule
impl Freeze for ChannelsModule
impl Move for ChannelsModule
impl RefUnwindSafe for ChannelsModule
impl Send for ChannelsModule
impl Sync for ChannelsModule
impl Unpin for ChannelsModule
impl UnsafeUnpin for ChannelsModule
impl UnwindSafe for ChannelsModule
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