[][src]Struct gitea::Repo

pub struct Repo {
    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,
}

A git repository. https://try.gitea.io/api/swagger#model-Repository

Fields

allow_merge_commits: boolallow_rebase: boolallow_rebase_explicit: boolallow_squash_merge: boolarchived: boolavatar_url: Stringclone_url: Stringcreated_at: Stringdefault_branch: Stringdescription: Stringempty: boolfork: boolforks_count: i64full_name: Stringhas_issues: boolhas_pull_requests: boolhas_wiki: boolhtml_url: Stringid: i64ignore_whitespace_conflicts: boolmirror: boolname: Stringopen_issues_count: i64open_pr_counter: i64original_url: Stringowner: Userpermissions: Permissionsprivate: boolrelease_counter: i64size: i64ssh_url: Stringstars_count: i64template: boolupdated_at: Stringwatchers_count: i64website: String

Trait Implementations

impl Clone for Repo[src]

impl Debug for Repo[src]

impl Default for Repo[src]

impl<'de> Deserialize<'de> for Repo[src]

impl PartialEq<Repo> for Repo[src]

impl Serialize for Repo[src]

impl StructuralPartialEq for Repo[src]

Auto Trait Implementations

impl RefUnwindSafe for Repo

impl Send for Repo

impl Sync for Repo

impl Unpin for Repo

impl UnwindSafe for Repo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.