pub struct MasterDataResource<'a> { /* private fields */ }Expand description
client.master_data()
Implementations§
Source§impl<'a> MasterDataResource<'a>
impl<'a> MasterDataResource<'a>
Sourcepub fn get_person(&self) -> Result<PersonMasterData>
👎Deprecated: GET /masterdata/person is deprecated in the ChurchTools API. Use /person/masterdata for new integrations.
pub fn get_person(&self) -> Result<PersonMasterData>
GET /masterdata/person is deprecated in the ChurchTools API. Use /person/masterdata for new integrations.
Fetch all master data for the module “People & Groups”
GET /masterdata/person
Deprecated alias of GET /person/masterdata. Use /person/masterdata for new integrations.
§Example
let person = client.master_data().get_person()?;
println!("{:?}", person);Trait Implementations§
Source§impl<'a> Clone for MasterDataResource<'a>
impl<'a> Clone for MasterDataResource<'a>
impl<'a> Copy for MasterDataResource<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for MasterDataResource<'a>
impl<'a> !UnwindSafe for MasterDataResource<'a>
impl<'a> Freeze for MasterDataResource<'a>
impl<'a> Send for MasterDataResource<'a>
impl<'a> Sync for MasterDataResource<'a>
impl<'a> Unpin for MasterDataResource<'a>
impl<'a> UnsafeUnpin for MasterDataResource<'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