pub struct AuthIr {
pub enabled: bool,
pub user_entity: Option<EntityId>,
pub registration_enabled: bool,
pub password_reset_enabled: bool,
pub oauth_enabled: bool,
pub oauth_providers: Vec<String>,
pub oauth_signup_disabled: Vec<String>,
pub roles: Vec<String>,
pub default_role: Option<String>,
}Expand description
Authentication facts known at compile time in the M0 compiler.
Fields§
§enabled: bool§user_entity: Option<EntityId>§registration_enabled: bool§password_reset_enabled: bool§oauth_enabled: bool§oauth_providers: Vec<String>§oauth_signup_disabled: Vec<String>§roles: Vec<String>§default_role: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthIr
impl<'de> Deserialize<'de> for AuthIr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AuthIr
impl StructuralPartialEq for AuthIr
Auto Trait Implementations§
impl Freeze for AuthIr
impl RefUnwindSafe for AuthIr
impl Send for AuthIr
impl Sync for AuthIr
impl Unpin for AuthIr
impl UnsafeUnpin for AuthIr
impl UnwindSafe for AuthIr
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