Struct yahoo_finance_api::YSearchResult
source · pub struct YSearchResult {
pub count: u32,
pub quotes: Vec<YQuoteItem>,
pub news: Vec<YNewsItem>,
}
Fields§
§count: u32
§quotes: Vec<YQuoteItem>
§news: Vec<YNewsItem>
Implementations§
source§impl YSearchResult
impl YSearchResult
pub fn from_opt(search_result_opt: &YSearchResultOpt) -> YSearchResult
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for YSearchResult
impl Send for YSearchResult
impl Sync for YSearchResult
impl Unpin for YSearchResult
impl UnwindSafe for YSearchResult
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