pub struct RegistrationSettingsResponse {
pub mode: RegistrationMode,
pub require_token_for_oidc: bool,
}Fields§
§mode: RegistrationMode§require_token_for_oidc: boolWhether OIDC users also need a registration token (only relevant in invite mode).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RegistrationSettingsResponse
impl<'de> Deserialize<'de> for RegistrationSettingsResponse
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 RegistrationSettingsResponse
impl RefUnwindSafe for RegistrationSettingsResponse
impl Send for RegistrationSettingsResponse
impl Sync for RegistrationSettingsResponse
impl Unpin for RegistrationSettingsResponse
impl UnsafeUnpin for RegistrationSettingsResponse
impl UnwindSafe for RegistrationSettingsResponse
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