pub struct GetArticlesWebSocketParams {Show 13 fields
pub query: Option<String>,
pub sources: Option<Vec<String>>,
pub exclude_sources: Option<Vec<String>>,
pub opt_in_sources: Option<Vec<String>>,
pub language: Option<String>,
pub extended: Option<bool>,
pub tickers: Option<Vec<String>>,
pub include_entities: Option<bool>,
pub exclude_empty_content: Option<bool>,
pub include_content: Option<bool>,
pub countries: Option<Vec<String>>,
pub categories: Option<Vec<Category>>,
pub include_updates: Option<bool>,
}Expand description
Filters for the enhanced WebSocket stream.
Fields§
§query: Option<String>Query in the finlight query language.
sources: Option<Vec<String>>Restrict the stream to these source domains.
exclude_sources: Option<Vec<String>>Exclude these source domains.
opt_in_sources: Option<Vec<String>>Include these non-default sources.
language: Option<String>ISO 639-1 language code.
extended: Option<bool>Deprecated: use include_content.
tickers: Option<Vec<String>>Restrict the stream to articles mentioning these tickers.
include_entities: Option<bool>Include recognized entities.
exclude_empty_content: Option<bool>Skip articles without content.
include_content: Option<bool>Include full article content.
countries: Option<Vec<String>>Restrict the stream to these countries.
categories: Option<Vec<Category>>Restrict the stream to these categories.
include_updates: Option<bool>Also deliver updates to previously seen articles.
Trait Implementations§
Source§impl Clone for GetArticlesWebSocketParams
impl Clone for GetArticlesWebSocketParams
Source§impl Debug for GetArticlesWebSocketParams
impl Debug for GetArticlesWebSocketParams
Source§impl Default for GetArticlesWebSocketParams
impl Default for GetArticlesWebSocketParams
Auto Trait Implementations§
impl Forget for GetArticlesWebSocketParams
impl Freeze for GetArticlesWebSocketParamswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Category>: Freeze,
impl Move for GetArticlesWebSocketParams
impl RefUnwindSafe for GetArticlesWebSocketParams
impl Send for GetArticlesWebSocketParamswhere
RawVecInner: Send,
impl Sync for GetArticlesWebSocketParamswhere
RawVecInner: Sync,
impl Unpin for GetArticlesWebSocketParams
impl UnsafeUnpin for GetArticlesWebSocketParamswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Category>: UnsafeUnpin,
impl UnwindSafe for GetArticlesWebSocketParamswhere
RawVecInner: UnwindSafe,
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