pub struct RepoLite {
pub name: String,
pub fork: bool,
pub archived: bool,
pub lang: Option<String>,
pub stars: u64,
pub forks: u64,
pub pushed: String,
pub created: String,
pub topics: Vec<String>,
pub desc: Option<String>,
pub size: u64,
}Expand description
The cheap fields we keep from a repo object — everything else (URLs, owner blob, permissions) is dropped at projection time.
Fields§
§name: String§fork: bool§archived: bool§lang: Option<String>§stars: u64§forks: u64§pushed: String§created: String§topics: Vec<String>§desc: Option<String>§size: u64Repo size in KB — a cheap proxy for code volume / effort.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RepoLite
impl<'de> Deserialize<'de> for RepoLite
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 RepoLite
impl RefUnwindSafe for RepoLite
impl Send for RepoLite
impl Sync for RepoLite
impl Unpin for RepoLite
impl UnsafeUnpin for RepoLite
impl UnwindSafe for RepoLite
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