[−][src]Struct gitlab::types::Project
Project information.
Fields
id: ProjectId
The ID of the project.
description: Option<String>
The description of the project.
default_branch: Option<String>
The default branch for the project.
tag_list: Vec<String>
A list of tags for the project.
archived: bool
Whether the project is archived or not.
visibility: VisibilityLevel
Whether the project is public, internal, or private.
ssh_url_to_repo: String
The URL to clone the repository over SSH.
http_url_to_repo: String
The URL to clone the repository over HTTPS.
web_url: String
The URL for the project's homepage.
readme_url: Option<String>
The URL for the project's readme.
owner: Option<UserBasic>
The owner of the project (None
for a group-owned project).
name: String
The display name of the project.
name_with_namespace: String
The display name of the project with the namespace.
path: String
The path to the project's repository.
path_with_namespace: String
The path to the project's repository with its namespace.
container_registry_enabled: Option<bool>
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
.
created_at: DateTime<Utc>
When the repository was created.
last_activity_at: DateTime<Utc>
When the last activity on the project occurred.
Whether continuous integration shared runners are enabled.
lfs_enabled: bool
Whether LFS object storage is enabled.
creator_id: UserId
The user who created the repository.
namespace: Namespace
The namespace the project lives in.
forked_from_project: Option<BasicProjectDetails>
If the project is a fork, details about it.
avatar_url: Option<String>
The URL to the project avatar.
ci_config_path: Option<String>
The path to CI config file.
import_error: Option<String>
Description of error if project failed to import.
star_count: u64
The number of stars for the project.
forks_count: u64
The number of forks.
open_issues_count: Option<u64>
The number of open issues (if issues are enabled).
runners_token: Option<String>
The continuous integration runner token (if enabled).
public_jobs: bool
Whether jobs are publicly visible.
Groups the project is shared with.
only_allow_merge_if_pipeline_succeeds: Option<bool>
Whether the project only enables the merge button if all pipelines are passing.
only_allow_merge_if_all_discussions_are_resolved: Option<bool>
Whether the project only enables the merge button if all discussions are resolved.
printing_merge_request_link_enabled: Option<bool>
Whether to show the link to create/view merge request when pusing from command line.
request_access_enabled: bool
Whether access to the project may be requested.
jobs_enabled: bool
Whether jobs are enabled or not.
resolve_outdated_diff_discussions: Option<bool>
Whether to automatically resolve merge request diff discussions when they become outdated, if configured.
issues_enabled: bool
Whether issues are enabled or not.
merge_requests_enabled: bool
Whether merge requests are enabled or not.
snippets_enabled: bool
Whether snippets are enabled or not.
wiki_enabled: bool
Whether the project wiki is enabled or not.
merge_method: Option<String>
The merge method used when merging merge request.
statistics: Option<ProjectStatistics>
Statistics about the project.
permissions: Option<Permissions>
If this is present, it is ProjectWithAccess
, but since it is so similar, just have it be
optional here.
Trait Implementations
impl Clone for Project
[src]
fn clone(&self) -> Project
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Project
[src]
impl Serialize for Project
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Project
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Project
impl Unpin for Project
impl Sync for Project
impl UnwindSafe for Project
impl RefUnwindSafe for Project
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,