pub struct DashboardAuthConfig {
pub enabled: bool,
pub provider: String,
pub access_rules: Vec<AccessRule>,
}Expand description
Dashboard authentication configuration
Fields§
§enabled: boolEnable authentication
provider: StringAuthentication provider
access_rules: Vec<AccessRule>Access control rules
Trait Implementations§
Source§impl Clone for DashboardAuthConfig
impl Clone for DashboardAuthConfig
Source§fn clone(&self) -> DashboardAuthConfig
fn clone(&self) -> DashboardAuthConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DashboardAuthConfig
impl Debug for DashboardAuthConfig
Source§impl Default for DashboardAuthConfig
impl Default for DashboardAuthConfig
Source§impl<'de> Deserialize<'de> for DashboardAuthConfig
impl<'de> Deserialize<'de> for DashboardAuthConfig
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
Auto Trait Implementations§
impl Freeze for DashboardAuthConfig
impl RefUnwindSafe for DashboardAuthConfig
impl Send for DashboardAuthConfig
impl Sync for DashboardAuthConfig
impl Unpin for DashboardAuthConfig
impl UnwindSafe for DashboardAuthConfig
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