pub struct AdminBundle {}Trait Implementations§
Source§impl<S> Pouch<S> for AdminBundlewhere
S: ProvideState<Templating> + ProvideState<Database> + ProvideStateRef<AdminState<S>> + State + 'static,
This is provides the minimum to get a Bundle started.
impl<S> Pouch<S> for AdminBundlewhere
S: ProvideState<Templating> + ProvideState<Database> + ProvideStateRef<AdminState<S>> + State + 'static,
This is provides the minimum to get a Bundle started.
See the quokka::bundle::Pouch for available setup functions.
Source§fn from_config(_: &Config) -> Result<Self>where
Self: Sized,
fn from_config(_: &Config) -> Result<Self>where
Self: Sized,
Find your config module from here
fn configure_commands(&self, commands: &mut Commands<S>) -> Result<()>
Source§fn configure_state(&mut self, state: &mut S) -> Result<()>
fn configure_state(&mut self, state: &mut S) -> Result<()>
This function can be used to interact with the sub-states of other libraries. Read more
fn configure_styles(&mut self, styles: &mut Styling) -> Result<()>
fn configure_scripts(&mut self, scripts: &mut Scripting) -> Result<()>
fn configure_templates(&mut self, templates: &mut Templating) -> Result<()>
fn configure_resources(&mut self, resources: &mut Resources) -> Result<()>
Source§fn get_router(&mut self, state: &S) -> Router<S>
fn get_router(&mut self, state: &S) -> Router<S>
Sets up a router for the local bundle. Read more
Source§fn get_migrations(&self) -> Option<Migrator>
fn get_migrations(&self) -> Option<Migrator>
Gets the migrations for this bundle
Auto Trait Implementations§
impl Freeze for AdminBundle
impl RefUnwindSafe for AdminBundle
impl Send for AdminBundle
impl Sync for AdminBundle
impl Unpin for AdminBundle
impl UnsafeUnpin for AdminBundle
impl UnwindSafe for AdminBundle
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more