pub struct Repo {
pub id: String,
pub org: String,
pub name: String,
pub default_branch: String,
pub size_bytes: u64,
pub last_push_at: Option<String>,
pub created_at: String,
}Expand description
A repository.
Fields§
§id: StringUnique repository identifier.
org: StringOrganization that owns this repository.
name: StringRepository name.
default_branch: StringName of the default branch.
size_bytes: u64Size in bytes.
last_push_at: Option<String>Timestamp of the last push, if any.
created_at: StringCreation timestamp.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Repo
impl<'de> Deserialize<'de> for Repo
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 Repo
impl RefUnwindSafe for Repo
impl Send for Repo
impl Sync for Repo
impl Unpin for Repo
impl UnwindSafe for Repo
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