Struct perseus::plugins::FunctionalPluginSettingsActions
source · pub struct FunctionalPluginSettingsActions {
pub add_static_aliases: FunctionalPluginAction<(), HashMap<String, String>>,
pub html_shell_actions: FunctionalPluginHtmlShellActions,
}
Expand description
Functional actions that pertain to altering the settings exported from
PerseusApp
.
Fields§
§add_static_aliases: FunctionalPluginAction<(), HashMap<String, String>>
Adds additional static aliases. Note that a static alias is a mapping of a URL path to a filesystem path (relative to the project root). These will be vetted to ensure they don’t access anything outside the project root for security reasons. If they do, the user’s app will not run. Note that these have the power to override the user’s static aliases.
html_shell_actions: FunctionalPluginHtmlShellActions
Actions pertaining to the HTML shell, in their own category for cleanliness (as there are quite a few).
Trait Implementations§
source§impl Default for FunctionalPluginSettingsActions
impl Default for FunctionalPluginSettingsActions
source§fn default() -> FunctionalPluginSettingsActions
fn default() -> FunctionalPluginSettingsActions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for FunctionalPluginSettingsActions
impl Send for FunctionalPluginSettingsActions
impl Sync for FunctionalPluginSettingsActions
impl Unpin for FunctionalPluginSettingsActions
impl !UnwindSafe for FunctionalPluginSettingsActions
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