pub struct Repo {Show 36 fields
pub allow_merge_commits: bool,
pub allow_rebase: bool,
pub allow_rebase_explicit: bool,
pub allow_squash_merge: bool,
pub archived: bool,
pub avatar_url: String,
pub clone_url: String,
pub created_at: String,
pub default_branch: String,
pub description: String,
pub empty: bool,
pub fork: bool,
pub forks_count: i64,
pub full_name: String,
pub has_issues: bool,
pub has_pull_requests: bool,
pub has_wiki: bool,
pub html_url: String,
pub id: i64,
pub ignore_whitespace_conflicts: bool,
pub mirror: bool,
pub name: String,
pub open_issues_count: i64,
pub open_pr_counter: i64,
pub original_url: String,
pub owner: User,
pub permissions: Permissions,
pub private: bool,
pub release_counter: i64,
pub size: i64,
pub ssh_url: String,
pub stars_count: i64,
pub template: bool,
pub updated_at: String,
pub watchers_count: i64,
pub website: String,
}
Expand description
A git repository. https://try.gitea.io/api/swagger#model-Repository
Fields§
§allow_merge_commits: bool
§allow_rebase: bool
§allow_rebase_explicit: bool
§allow_squash_merge: bool
§archived: bool
§avatar_url: String
§clone_url: String
§created_at: String
§default_branch: String
§description: String
§empty: bool
§fork: bool
§forks_count: i64
§full_name: String
§has_issues: bool
§has_pull_requests: bool
§has_wiki: bool
§html_url: String
§id: i64
§ignore_whitespace_conflicts: bool
§mirror: bool
§name: String
§open_issues_count: i64
§open_pr_counter: i64
§original_url: String
§owner: User
§permissions: Permissions
§private: bool
§release_counter: i64
§size: i64
§ssh_url: String
§stars_count: i64
§template: bool
§updated_at: String
§watchers_count: i64
§website: String
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
impl StructuralPartialEq for Repo
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