Struct gitlab::types::Project [] [src]

pub struct Project {
    pub id: ProjectId,
    pub description: Option<String>,
    pub default_branch: Option<String>,
    pub tag_list: Vec<String>,
    pub public: bool,
    pub archived: bool,
    pub visibility_level: u64,
    pub ssh_url_to_repo: String,
    pub http_url_to_repo: String,
    pub web_url: String,
    pub owner: Option<UserBasic>,
    pub name: String,
    pub name_with_namespace: String,
    pub path: String,
    pub path_with_namespace: String,
    pub container_registry_enabled: Option<bool>,
    pub created_at: DateTime<UTC>,
    pub last_activity_at: DateTime<UTC>,
    pub shared_runners_enabled: bool,
    pub lfs_enabled: bool,
    pub creator_id: UserId,
    pub namespace: Namespace,
    pub forked_from_project: Option<BasicProjectDetails>,
    pub avatar_url: Option<String>,
    pub star_count: u64,
    pub forks_count: u64,
    pub open_issues_count: Option<u64>,
    pub runners_token: Option<String>,
    pub public_builds: bool,
    pub shared_with_groups: Vec<SharedGroup>,
    pub only_allow_merge_if_build_succeeds: Option<bool>,
    pub only_allow_merge_if_all_discussions_are_resolved: Option<bool>,
    pub request_access_enabled: bool,
    pub builds_enabled: bool,
    pub issues_enabled: bool,
    pub merge_requests_enabled: bool,
    pub snippets_enabled: bool,
    pub wiki_enabled: bool,
    pub statistics: Option<ProjectStatistics>,
    pub permissions: Option<Permissions>,
}

Project information.

Fields

The ID of the project.

The description of the project.

The default branch for the project.

A list of tags for the project.

Whether the project is publicly visible or not.

Whether the project is archived or not.

Integral value for the project's visibility.

The URL to clone the repository over SSH.

The URL to clone the repository over HTTPS.

The URL for the project's homepage.

The owner of the project (None for a group-owned project).

The display name of the project.

The display name of the project with the namespace.

The path to the project's repository.

The path to the project's repository with its namespace.

Whether the continuous integration container registry is enabled.

This is supposed to be just bool, but projects created before the registry was supported appear to return null.

When the repository was created.

When the last activity on the project occurred.

Whether continuous integration shared runners are enabled.

Whether LFS object storage is enabled.

The user who created the repository.

The namespace the project lives in.

If the project is a fork, details about it.

The URL to the project avatar.

The number of stars for the project.

The number of forks.

The number of open issues (if issues are enabled).

The continuous integration runner token (if enabled).

Whether builds are publicly visible.

Groups the project is shared with.

Whether the project only enables the merge button if all builds are passing.

Whether the project only enables the merge button if all discussions are resolved.

Whether access to the project may be requested.

Whether builds are enabled or not.

Whether issues are enabled or not.

Whether merge requests are enabled or not.

Whether snippets are enabled or not.

Whether the project wiki is enabled or not.

Statistics about the project.

If this is present, it is ProjectWithAccess, but since it is so similar, just have it be optional here.

Trait Implementations

impl Debug for Project
[src]

Formats the value using the given formatter.

impl Clone for Project
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more