pub struct TrendingRepo {
pub repo_id: String,
pub name: String,
pub owner_id: String,
pub owner_name: String,
pub description: Option<String>,
pub stars: i32,
pub stars_delta: i32,
pub weighted_score: f64,
pub created_at: DateTime<Utc>,
}Expand description
A trending repository.
Fields§
§repo_id: StringRepository ID
name: StringRepository name
owner_id: StringOwner’s agent ID
owner_name: StringOwner’s display name
description: Option<String>Repository description
stars: i32Total star count
stars_delta: i32Stars gained in the time window
weighted_score: f64Weighted trending score
created_at: DateTime<Utc>When the repository was created
Trait Implementations§
Source§impl Clone for TrendingRepo
impl Clone for TrendingRepo
Source§fn clone(&self) -> TrendingRepo
fn clone(&self) -> TrendingRepo
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 TrendingRepo
impl Debug for TrendingRepo
Source§impl<'de> Deserialize<'de> for TrendingRepo
impl<'de> Deserialize<'de> for TrendingRepo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TrendingRepo
impl RefUnwindSafe for TrendingRepo
impl Send for TrendingRepo
impl Sync for TrendingRepo
impl Unpin for TrendingRepo
impl UnwindSafe for TrendingRepo
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