pub struct PrResource<'a> { /* private fields */ }Expand description
client.pr()
Implementations§
Source§impl<'a> PrResource<'a>
impl<'a> PrResource<'a>
Sourcepub fn get_master_data(&self) -> Result<PublicRelationsMasterData>
pub fn get_master_data(&self) -> Result<PublicRelationsMasterData>
Get public relations master data
GET /pr/masterdata
Returns the master data used by the public relations module and public profiles. The response groups each master data collection under data and returns the item count for each collection under meta.
§Example
let master_data = client.pr().get_master_data()?;
println!("{:?}", master_data);Trait Implementations§
Source§impl<'a> Clone for PrResource<'a>
impl<'a> Clone for PrResource<'a>
impl<'a> Copy for PrResource<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for PrResource<'a>
impl<'a> !UnwindSafe for PrResource<'a>
impl<'a> Freeze for PrResource<'a>
impl<'a> Send for PrResource<'a>
impl<'a> Sync for PrResource<'a>
impl<'a> Unpin for PrResource<'a>
impl<'a> UnsafeUnpin for PrResource<'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