[−][src]Struct dropbox_sdk::sharing::GroupInfo
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
group_name: String
group_id: GroupId
group_management_type: GroupManagementType
Who is allowed to manage the group.
group_type: GroupType
The type of group.
is_member: bool
If the current user is a member of the group.
is_owner: bool
If the current user is an owner of the group.
same_team: bool
If 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]
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: Option<GroupExternalId>) -> Self
[src]
pub fn with_member_count(self, value: Option<u32>) -> Self
[src]
Trait Implementations
impl Debug for GroupInfo
[src]
impl<'de> Deserialize<'de> for GroupInfo
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
impl Serialize 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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,