pub struct CmsModule { /* private fields */ }Implementations§
Source§impl CmsModule
impl CmsModule
pub fn new() -> Self
pub fn admin_resources(&self) -> &[AdminResourceContribution]
pub fn live_pages_query( &self, locale: Option<&str>, ) -> Result<CmsPageQuery, CmsModelError>
pub fn editorial_queue_query( &self, principal_id: &str, locale: Option<&str>, ) -> Result<CmsPageQuery, CmsModelError>
pub fn redirect_lookup_query( &self, path: &str, locale: Option<&str>, ) -> Result<RedirectLookupQuery, CmsModelError>
pub fn migration_plan(&self) -> Result<MigrationPlan, CmsModelError>
Trait Implementations§
Source§impl PlatformModule for CmsModule
impl PlatformModule for CmsModule
fn manifest(&self) -> ModuleManifest
fn register( &self, registry: &mut ServiceRegistry, ) -> Result<(), RegistrationError>
fn install_migration_plan(&self) -> Option<MigrationPlan>
impl Eq for CmsModule
impl StructuralPartialEq for CmsModule
Auto Trait Implementations§
impl Freeze for CmsModule
impl RefUnwindSafe for CmsModule
impl Send for CmsModule
impl Sync for CmsModule
impl Unpin for CmsModule
impl UnsafeUnpin for CmsModule
impl UnwindSafe for CmsModule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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