Enum dropbox_sdk::team_common::GroupType
source · [−]#[non_exhaustive]
pub enum GroupType {
Team,
UserManaged,
Other,
}Available on crate feature
dbx_team_common only.Expand description
The group type determines how a group is created and managed.
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.
Team
A group to which team members are automatically added. Applicable to team folders only.
UserManaged
A group is created and managed by a user.
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 GroupType
impl<'de> Deserialize<'de> for GroupType
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 GroupType
impl StructuralEq for GroupType
impl StructuralPartialEq for GroupType
Auto Trait Implementations
impl RefUnwindSafe for GroupType
impl Send for GroupType
impl Sync for GroupType
impl Unpin for GroupType
impl UnwindSafe for GroupType
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