pub struct TrendingSource { /* private fields */ }Expand description
GitHub trending-page source.
Implementations§
Source§impl TrendingSource
impl TrendingSource
Sourcepub fn new() -> TrendingSource
pub fn new() -> TrendingSource
Build a source.
Sourcepub async fn fetch_html(&self) -> Result<String>
pub async fn fetch_html(&self) -> Result<String>
Trait Implementations§
Source§impl Clone for TrendingSource
impl Clone for TrendingSource
Source§impl Debug for TrendingSource
impl Debug for TrendingSource
Source§impl Default for TrendingSource
impl Default for TrendingSource
Source§impl TrendSource for TrendingSource
impl TrendSource for TrendingSource
Auto Trait Implementations§
impl !RefUnwindSafe for TrendingSource
impl !UnwindSafe for TrendingSource
impl Freeze for TrendingSource
impl Send for TrendingSource
impl Sync for TrendingSource
impl Unpin for TrendingSource
impl UnsafeUnpin for TrendingSource
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