pub struct BlogsApi { /* private fields */ }Implementations§
Source§impl BlogsApi
impl BlogsApi
pub fn new(http: Arc<HttpClient>) -> Self
pub async fn get_posts( &self, params: &GetBlogPostsParams, ) -> Result<GetBlogPostsResponse>
pub async fn get_sites( &self, params: &GetBlogSitesParams, ) -> Result<GetBlogSitesResponse>
Auto Trait Implementations§
impl !RefUnwindSafe for BlogsApi
impl !UnwindSafe for BlogsApi
impl Freeze for BlogsApi
impl Send for BlogsApi
impl Sync for BlogsApi
impl Unpin for BlogsApi
impl UnsafeUnpin for BlogsApi
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