Struct dropbox_sdk::team::GroupFullInfo
source · [−]#[non_exhaustive]pub struct GroupFullInfo {
pub group_name: String,
pub group_id: GroupId,
pub group_management_type: GroupManagementType,
pub created: u64,
pub group_external_id: Option<GroupExternalId>,
pub member_count: Option<u32>,
pub members: Option<Vec<GroupMemberInfo>>,
}Available on crate feature
dbx_team only.Expand description
Full description of a group.
Fields (Non-exhaustive)
This struct is marked as 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.
created: u64The group creation time as a UTC timestamp in milliseconds since the Unix epoch.
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.
members: Option<Vec<GroupMemberInfo>>List of group members.
Implementations
sourceimpl GroupFullInfo
impl GroupFullInfo
pub fn new(
group_name: String,
group_id: GroupId,
group_management_type: GroupManagementType,
created: u64
) -> Self
pub fn with_group_external_id(self, value: GroupExternalId) -> Self
pub fn with_member_count(self, value: u32) -> Self
pub fn with_members(self, value: Vec<GroupMemberInfo>) -> Self
Trait Implementations
sourceimpl Clone for GroupFullInfo
impl Clone for GroupFullInfo
sourcefn clone(&self) -> GroupFullInfo
fn clone(&self) -> GroupFullInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GroupFullInfo
impl Debug for GroupFullInfo
sourceimpl<'de> Deserialize<'de> for GroupFullInfo
impl<'de> Deserialize<'de> for GroupFullInfo
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
sourceimpl PartialEq<GroupFullInfo> for GroupFullInfo
impl PartialEq<GroupFullInfo> for GroupFullInfo
sourcefn eq(&self, other: &GroupFullInfo) -> bool
fn eq(&self, other: &GroupFullInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &GroupFullInfo) -> bool
fn ne(&self, other: &GroupFullInfo) -> bool
This method tests for !=.
sourceimpl Serialize for GroupFullInfo
impl Serialize for GroupFullInfo
impl Eq for GroupFullInfo
impl StructuralEq for GroupFullInfo
impl StructuralPartialEq for GroupFullInfo
Auto Trait Implementations
impl RefUnwindSafe for GroupFullInfo
impl Send for GroupFullInfo
impl Sync for GroupFullInfo
impl Unpin for GroupFullInfo
impl UnwindSafe for GroupFullInfo
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