pub struct Repository {
pub name: String,
pub owner: String,
pub description: String,
}
Expand description
A trending github repository, may add more fields later
Fields§
§name: String
§owner: String
§description: String
Implementations§
Trait Implementations§
Source§impl Clone for Repository
impl Clone for Repository
Source§fn clone(&self) -> Repository
fn clone(&self) -> Repository
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Repository
impl Debug for Repository
Source§impl Trend for Repository
impl Trend for Repository
Source§fn extract(text: &str) -> Vec<Self>
fn extract(text: &str) -> Vec<Self>
this method extract a list of trends from the raw HTML string
Source§fn request(param: TrendingParameters) -> TrendingRequest
fn request(param: TrendingParameters) -> TrendingRequest
this method construct a request for query
Auto Trait Implementations§
impl Freeze for Repository
impl RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl UnwindSafe for Repository
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