pub struct SocialPlannerApi { /* private fields */ }Implementations§
Source§impl SocialPlannerApi
impl SocialPlannerApi
pub fn new(http: Arc<HttpClient>) -> Self
pub async fn list_posts( &self, params: &GetPostsParams, ) -> Result<GetPostsResponse>
pub async fn get_post(&self, post_id: &str) -> Result<GetPostResponse>
pub async fn delete_post(&self, post_id: &str) -> Result<()>
pub async fn get_accounts( &self, location_id: &str, ) -> Result<GetAccountsResponse>
Auto Trait Implementations§
impl !RefUnwindSafe for SocialPlannerApi
impl !UnwindSafe for SocialPlannerApi
impl Freeze for SocialPlannerApi
impl Send for SocialPlannerApi
impl Sync for SocialPlannerApi
impl Unpin for SocialPlannerApi
impl UnsafeUnpin for SocialPlannerApi
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