pub struct GroupsMemberFieldsResource<'a> { /* private fields */ }Expand description
client.groups().member_fields()
Implementations§
Source§impl<'a> GroupsMemberFieldsResource<'a>
impl<'a> GroupsMemberFieldsResource<'a>
pub fn group(&self) -> GroupsMemberFieldsGroupResource<'a>
pub fn person(&self) -> GroupsMemberFieldsPersonResource<'a>
Sourcepub fn list(&self, group_id: impl Display) -> Result<Vec<Value>>
pub fn list(&self, group_id: impl Display) -> Result<Vec<Value>>
List configured membership and person fields
GET /groups/{groupId}/memberfields
Returns all configured fields for this group, ordered together by sortKey. type=group describes a field whose values belong to individual memberships; type=person links an existing global person field into the group’s membership/signup UI. The list contains field definitions, not members or their entered values. Requires visibility of the group. Field definitions are not additionally filtered by their securityLevel or useInRegistrationForm flag. Results are not paginated; meta.count is the total number of returned definitions. Anonymous access is possible when the group is publicly visible.
§Example
for member_field in client.groups().member_fields().list(42)? {
println!("{:?}", member_field);
}Trait Implementations§
Source§impl<'a> Clone for GroupsMemberFieldsResource<'a>
impl<'a> Clone for GroupsMemberFieldsResource<'a>
impl<'a> Copy for GroupsMemberFieldsResource<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GroupsMemberFieldsResource<'a>
impl<'a> !UnwindSafe for GroupsMemberFieldsResource<'a>
impl<'a> Forget for GroupsMemberFieldsResource<'a>
impl<'a> Freeze for GroupsMemberFieldsResource<'a>
impl<'a> Move for GroupsMemberFieldsResource<'a>
impl<'a> Send for GroupsMemberFieldsResource<'a>
impl<'a> Sync for GroupsMemberFieldsResource<'a>
impl<'a> Unpin for GroupsMemberFieldsResource<'a>
impl<'a> UnsafeUnpin for GroupsMemberFieldsResource<'a>
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