pub struct AuthzExtension;Trait Implementations§
Source§impl Clone for AuthzExtension
impl Clone for AuthzExtension
Source§fn clone(&self) -> AuthzExtension
fn clone(&self) -> AuthzExtension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AuthzExtension
Source§impl Debug for AuthzExtension
impl Debug for AuthzExtension
Source§impl Default for AuthzExtension
impl Default for AuthzExtension
Source§fn default() -> AuthzExtension
fn default() -> AuthzExtension
Returns the “default value” for a type. Read more
Source§impl Extension for AuthzExtension
impl Extension for AuthzExtension
fn metadata(&self) -> ExtensionMetadata
fn is_required(&self) -> bool
fn schemas(&self) -> Vec<SchemaDefinition>
fn dependencies(&self) -> Vec<&'static str>
fn migrations(&self) -> Vec<Migration>
fn router(&self, _ctx: &dyn ExtensionContext) -> Option<ExtensionRouter>
fn router_config(&self) -> Option<ExtensionRouterConfig>
fn site_auth(&self) -> Option<SiteAuthConfig>
Source§fn jobs(&self) -> Vec<Arc<dyn Job>>
fn jobs(&self) -> Vec<Arc<dyn Job>>
Per-extension job manifest, for CLI/plugin attribution only. Read more
fn config_prefix(&self) -> Option<&str>
fn config_schema(&self) -> Option<Value>
fn validate_config(&self, _config: &Value) -> Result<(), ConfigError>
fn llm_providers(&self) -> Vec<Arc<dyn LlmProvider>>
fn tool_providers(&self) -> Vec<Arc<dyn ToolProvider>>
fn template_providers(&self) -> Vec<Arc<dyn TemplateProvider>>
fn component_renderers(&self) -> Vec<Arc<dyn ComponentRenderer>>
fn template_data_extenders(&self) -> Vec<Arc<dyn TemplateDataExtender>>
fn page_data_providers(&self) -> Vec<Arc<dyn PageDataProvider>>
fn page_prerenderers(&self) -> Vec<Arc<dyn PagePrerenderer>>
fn frontmatter_processors(&self) -> Vec<Arc<dyn FrontmatterProcessor>>
fn content_data_providers(&self) -> Vec<Arc<dyn ContentDataProvider>>
fn rss_feed_providers(&self) -> Vec<Arc<dyn RssFeedProvider>>
fn sitemap_providers(&self) -> Vec<Arc<dyn SitemapProvider>>
fn required_storage_paths(&self) -> Vec<&'static str>
fn seeds(&self) -> Vec<Seed>
Source§fn cross_extension_tables(&self) -> Vec<&'static str>
fn cross_extension_tables(&self) -> Vec<&'static str>
Tables this extension is permitted to mutate with a cross-extension
ALTER even though another extension creates them. The tables an
extension owns are derived from the CREATE TABLE statements in its
Extension::schemas and must not be repeated here.fn roles(&self) -> Vec<ExtensionRole>
fn priority(&self) -> u32
fn id(&self) -> &'static str
fn name(&self) -> &'static str
fn version(&self) -> &'static str
fn has_schemas(&self) -> bool
fn has_jobs(&self) -> bool
fn has_config(&self) -> bool
fn has_llm_providers(&self) -> bool
fn has_tool_providers(&self) -> bool
fn has_template_providers(&self) -> bool
fn has_component_renderers(&self) -> bool
fn has_template_data_extenders(&self) -> bool
fn has_page_data_providers(&self) -> bool
fn has_page_prerenderers(&self) -> bool
fn has_frontmatter_processors(&self) -> bool
fn has_content_data_providers(&self) -> bool
fn has_rss_feed_providers(&self) -> bool
fn has_sitemap_providers(&self) -> bool
fn has_site_auth(&self) -> bool
fn has_storage_paths(&self) -> bool
fn has_roles(&self) -> bool
fn has_migrations(&self) -> bool
fn declares_assets(&self) -> bool
fn required_assets(&self, _paths: &dyn AssetPaths) -> Vec<AssetDefinition>
Auto Trait Implementations§
impl Freeze for AuthzExtension
impl RefUnwindSafe for AuthzExtension
impl Send for AuthzExtension
impl Sync for AuthzExtension
impl Unpin for AuthzExtension
impl UnsafeUnpin for AuthzExtension
impl UnwindSafe for AuthzExtension
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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