pub struct NewsService { /* private fields */ }Expand description
News service for accessing articles and announcements.
Implementations§
Source§impl NewsService
impl NewsService
Sourcepub async fn get_article_by_page(
&self,
req: GetArticleByPageRequest,
opts: Option<RequestOptions>,
) -> Result<GetArticleByPageResponse>
pub async fn get_article_by_page( &self, req: GetArticleByPageRequest, opts: Option<RequestOptions>, ) -> Result<GetArticleByPageResponse>
Trait Implementations§
Source§impl Clone for NewsService
impl Clone for NewsService
Source§fn clone(&self) -> NewsService
fn clone(&self) -> NewsService
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for NewsService
impl !RefUnwindSafe for NewsService
impl Send for NewsService
impl Sync for NewsService
impl Unpin for NewsService
impl !UnwindSafe for NewsService
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