pub struct ArticleService { /* private fields */ }Expand description
Fetches financial news articles.
Implementations§
Source§impl ArticleService
impl ArticleService
Sourcepub async fn fetch_articles(
&self,
params: &GetArticlesParams,
) -> Result<ArticleResponse, Error>
pub async fn fetch_articles( &self, params: &GetArticlesParams, ) -> Result<ArticleResponse, Error>
Searches articles matching params and returns one result page.
Sourcepub async fn fetch_article_by_link(
&self,
params: &GetArticleByLinkParams,
) -> Result<Article, Error>
pub async fn fetch_article_by_link( &self, params: &GetArticleByLinkParams, ) -> Result<Article, Error>
Fetches a single article by its URL.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ArticleService
impl !UnwindSafe for ArticleService
impl Forget for ArticleService
impl Freeze for ArticleService
impl Move for ArticleService
impl Send for ArticleService
impl Sync for ArticleService
impl Unpin for ArticleService
impl UnsafeUnpin for ArticleServicewhere
*const ArcInner<ApiClient> is !null: UnsafeUnpin,
PhantomData<ArcInner<ApiClient>>: UnsafeUnpin,
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