Struct dropbox_sdk::sharing::GroupInfo  [−][src]
#[non_exhaustive]pub struct GroupInfo { pub group_name: String, pub group_id: GroupId, pub group_management_type: GroupManagementType, pub group_type: GroupType, pub is_member: bool, pub is_owner: bool, pub same_team: bool, pub group_external_id: Option<GroupExternalId>, pub member_count: Option<u32>, }
This is supported on crate feature 
dbx_sharing only.The information about a group. Groups is a way to manage a list of users who need same access permission to the shared folder.
Fields (Non-exhaustive)
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 
Struct {{ .. }} syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.group_name: Stringgroup_id: GroupIdgroup_management_type: GroupManagementTypeWho is allowed to manage the group.
group_type: GroupTypeThe type of group.
is_member: boolIf the current user is a member of the group.
is_owner: boolIf the current user is an owner of the group.
same_team: boolIf the group is owned by the current user’s team.
group_external_id: Option<GroupExternalId>External ID of group. This is an arbitrary ID that an admin can attach to a group.
member_count: Option<u32>The number of members in the group.
Implementations
impl GroupInfo[src]
impl GroupInfo[src]pub fn new(
    group_name: String, 
    group_id: GroupId, 
    group_management_type: GroupManagementType, 
    group_type: GroupType, 
    is_member: bool, 
    is_owner: bool, 
    same_team: bool
) -> Self[src]
group_name: String,
group_id: GroupId,
group_management_type: GroupManagementType,
group_type: GroupType,
is_member: bool,
is_owner: bool,
same_team: bool
) -> Self
pub fn with_group_external_id(self, value: GroupExternalId) -> Self[src]
pub fn with_member_count(self, value: u32) -> Self[src]
Trait Implementations
impl<'de> Deserialize<'de> for GroupInfo[src]
impl<'de> Deserialize<'de> for GroupInfo[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for GroupInfo[src]
Auto Trait Implementations
impl RefUnwindSafe for GroupInfo
impl Send for GroupInfo
impl Sync for GroupInfo
impl Unpin for GroupInfo
impl UnwindSafe for GroupInfo
Blanket Implementations
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
    T: Clone, [src]
impl<T> ToOwned for T where
    T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,