pub struct AuthModule;Trait Implementations§
Source§impl AppModule for AuthModule
impl AppModule for AuthModule
fn name(&self) -> &'static str
fn schema(&self) -> SchemaSet
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.
fn init(&self, context: &mut ModuleContext)
fn middleware(&self, router: Router, _state: &AppState) -> Router
fn openapi(&self, state: &AppState) -> Value
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)
Source§impl Clone for AuthModule
impl Clone for AuthModule
impl Copy for AuthModule
Auto Trait Implementations§
impl Forget for AuthModule
impl Freeze for AuthModule
impl Move for AuthModule
impl RefUnwindSafe for AuthModule
impl Send for AuthModule
impl Sync for AuthModule
impl Unpin for AuthModule
impl UnsafeUnpin for AuthModule
impl UnwindSafe for AuthModule
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