pub struct RepoSummary {
pub owner: String,
pub name: String,
pub description: String,
pub last_push: Option<u64>,
}Expand description
Repository summary used by the list endpoints and the HTML index.
Fields§
§owner: StringOwner namespace.
name: StringRepository name.
description: StringDescription (file or README first line), possibly empty.
last_push: Option<u64>Newest ref commit time, unix seconds.
Trait Implementations§
Source§impl Clone for RepoSummary
impl Clone for RepoSummary
Auto Trait Implementations§
impl Freeze for RepoSummary
impl RefUnwindSafe for RepoSummary
impl Send for RepoSummary
impl Sync for RepoSummary
impl Unpin for RepoSummary
impl UnsafeUnpin for RepoSummary
impl UnwindSafe for RepoSummary
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