#[non_exhaustive]pub enum TenantRegistrationFault {
AuthDisabled,
ReservedField(String),
FileField(String),
RelationshipField(String),
}Expand description
Why a panel’s tenant registration page cannot be served:
DeclarationErrorKind::TenantRegistration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AuthDisabled
Auth::tenant_registration on Auth::disabled, which signs nobody in to register one.
Turn authentication on.
ReservedField(String)
A field named like a key the registration POST carries itself: csrf_token.
Rename the field.
FileField(String)
A file field, whose upload the registration POST does not read.
Ask for the file on a resource’s form.
RelationshipField(String)
A relationship choice, whose options no route serves the registration page.
Offer static options.
Trait Implementations§
Source§impl Clone for TenantRegistrationFault
impl Clone for TenantRegistrationFault
Source§impl Debug for TenantRegistrationFault
impl Debug for TenantRegistrationFault
Source§impl Display for TenantRegistrationFault
impl Display for TenantRegistrationFault
impl Eq for TenantRegistrationFault
Source§impl PartialEq for TenantRegistrationFault
impl PartialEq for TenantRegistrationFault
impl StructuralPartialEq for TenantRegistrationFault
Auto Trait Implementations§
impl Forget for TenantRegistrationFault
impl Freeze for TenantRegistrationFault
impl RefUnwindSafe for TenantRegistrationFault
impl Send for TenantRegistrationFault
impl Sync for TenantRegistrationFault
impl Unpin for TenantRegistrationFault
impl UnsafeUnpin for TenantRegistrationFault
impl UnwindSafe for TenantRegistrationFault
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,
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.