Enum dropbox_sdk::team_policies::SsoPolicy
source · [−]#[non_exhaustive]
pub enum SsoPolicy {
Disabled,
Optional,
Required,
Other,
}Available on crate feature
dbx_team_policies only.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.
Disabled
Users will be able to sign in with their Dropbox credentials.
Optional
Users will be able to sign in with either their Dropbox or single sign-on credentials.
Required
Users will be required to sign in with their single sign-on credentials.
Other
Catch-all used for unrecognized values returned from the server. Encountering this value typically indicates that this SDK version is out of date.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for SsoPolicy
impl<'de> Deserialize<'de> for SsoPolicy
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SsoPolicy
impl StructuralEq for SsoPolicy
impl StructuralPartialEq for SsoPolicy
Auto Trait Implementations
impl RefUnwindSafe for SsoPolicy
impl Send for SsoPolicy
impl Sync for SsoPolicy
impl Unpin for SsoPolicy
impl UnwindSafe for SsoPolicy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more