#[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 features
async_routes
and 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: String
§group_id: GroupId
§group_management_type: GroupManagementType
Who is allowed to manage the group.
created: u64
The 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§
Source§impl 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§
Source§impl Clone for GroupFullInfo
impl Clone for GroupFullInfo
Source§fn clone(&self) -> GroupFullInfo
fn clone(&self) -> GroupFullInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GroupFullInfo
impl Debug for GroupFullInfo
Source§impl<'de> Deserialize<'de> for GroupFullInfo
impl<'de> Deserialize<'de> for GroupFullInfo
Source§fn 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
Source§impl From<GroupFullInfo> for GroupSummary
impl From<GroupFullInfo> for GroupSummary
Source§fn from(subtype: GroupFullInfo) -> Self
fn from(subtype: GroupFullInfo) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GroupFullInfo
impl PartialEq for GroupFullInfo
Source§impl Serialize for GroupFullInfo
impl Serialize for GroupFullInfo
impl Eq for GroupFullInfo
impl StructuralPartialEq for GroupFullInfo
Auto Trait Implementations§
impl Freeze for GroupFullInfo
impl RefUnwindSafe for GroupFullInfo
impl Send for GroupFullInfo
impl Sync for GroupFullInfo
impl Unpin for GroupFullInfo
impl UnwindSafe for GroupFullInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.