pub struct MemberPreview {
pub members: Vec<GroupMember>,
pub role: MemberPreviewRole,
pub extra: Map<String, Value>,
}Expand description
A role definition and a limited preview of its active, visible group members. Roles without matching members have an empty members array.
Fields§
§members: Vec<GroupMember>Members selected for this role, limited by members_per_role. Entries omit fields, personFields and optional newsletter/tag enrichments.
role: MemberPreviewRoleRole definition for the group type. Its id matches groupTypeRoleId on each member.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for MemberPreview
impl Clone for MemberPreview
Source§impl Debug for MemberPreview
impl Debug for MemberPreview
Source§impl Default for MemberPreview
impl Default for MemberPreview
Source§impl<'de> Deserialize<'de> for MemberPreview
impl<'de> Deserialize<'de> for MemberPreview
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MemberPreview
impl PartialEq for MemberPreview
Source§impl Serialize for MemberPreview
impl Serialize for MemberPreview
impl StructuralPartialEq for MemberPreview
Auto Trait Implementations§
impl Freeze for MemberPreview
impl RefUnwindSafe for MemberPreview
impl Send for MemberPreview
impl Sync for MemberPreview
impl Unpin for MemberPreview
impl UnsafeUnpin for MemberPreview
impl UnwindSafe for MemberPreview
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