pub struct GroupResource<'a> { /* private fields */ }Expand description
client.group()
Implementations§
Source§impl<'a> GroupResource<'a>
impl<'a> GroupResource<'a>
pub fn age_groups(&self) -> GroupAgeGroupsResource<'a>
pub fn group_categories(&self) -> GroupGroupCategoriesResource<'a>
pub fn group_types(&self) -> GroupGroupTypesResource<'a>
pub fn meeting_templates(&self) -> GroupMeetingTemplatesResource<'a>
pub fn roles(&self) -> GroupRolesResource<'a>
pub fn target_groups(&self) -> GroupTargetGroupsResource<'a>
Sourcepub fn list_member_status(
&self,
) -> Result<Vec<GetGroupMemberstatusResponseItem>>
pub fn list_member_status( &self, ) -> Result<Vec<GetGroupMemberstatusResponseItem>>
Get all group member statuses
GET /group/memberstatus
Returns the fixed membership-status values with their names translated into the current language. A status describes a person’s membership state in a group; their role (for example leader or participant) is a separate property. active means an active membership, requested a membership awaiting confirmation, waiting a place on the waiting list, and to_delete a membership pending removal. to_delete is still a stored membership state, not an already deleted record. These values are shared across group types. Use id in API requests and name for display. Requires authentication. This endpoint takes no parameters and returns a plain array, without a data wrapper or meta object. It lists possible statuses, not the transitions that a particular user may perform for a particular membership.
§Example
for member_statu in client.group().list_member_status()? {
println!("{}", member_statu.name);
}