pub struct PersonResource<'a> { /* private fields */ }Expand description
client.person()
Implementations§
Source§impl<'a> PersonResource<'a>
impl<'a> PersonResource<'a>
pub fn comment_viewers(&self) -> PersonCommentViewersResource<'a>
pub fn grow_paths(&self) -> PersonGrowPathsResource<'a>
pub fn relationship_types(&self) -> PersonRelationshipTypesResource<'a>
pub fn sexes(&self) -> PersonSexesResource<'a>
Sourcepub fn get_master_data(&self) -> Result<PersonMasterData>
pub fn get_master_data(&self) -> Result<PersonMasterData>
Get People & Groups reference catalogs
GET /person/masterdata
Returns complete reference catalogs for People & Groups, including membership roles, group and person classifications, campuses, relationship types and meeting feedback templates. These are reference definitions, not person records or group memberships. Roles are ordered by type and sortKey; campuses by sortKey.
§Example
let master_data = client.person().get_master_data()?;
println!("{:?}", master_data);Trait Implementations§
Source§impl<'a> Clone for PersonResource<'a>
impl<'a> Clone for PersonResource<'a>
impl<'a> Copy for PersonResource<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PersonResource<'a>
impl<'a> !UnwindSafe for PersonResource<'a>
impl<'a> Freeze for PersonResource<'a>
impl<'a> Send for PersonResource<'a>
impl<'a> Sync for PersonResource<'a>
impl<'a> Unpin for PersonResource<'a>
impl<'a> UnsafeUnpin for PersonResource<'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