pub struct Client {
pub articles: ArticleService,
pub sources: SourceService,
pub websocket: WebSocketClient,
pub raw_websocket: RawWebSocketClient,
}Expand description
Entry point to the finlight API.
Fields§
§articles: ArticleServiceREST access to articles.
sources: SourceServiceREST access to sources.
websocket: WebSocketClientEnhanced article stream, default options. For custom options use
WebSocketClient::new.
raw_websocket: RawWebSocketClientRaw article stream, default options. For custom options use
RawWebSocketClient::new.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Client
impl !UnwindSafe for Client
impl Freeze for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnsafeUnpin for Client
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