Struct gitlab::webhooks::ProjectHookAttrs
[−]
[src]
pub struct ProjectHookAttrs { pub name: String, pub description: Option<String>, pub web_url: String, pub avatar_url: Option<String>, pub git_ssh_url: String, pub git_http_url: String, pub namespace: String, pub visibility_level: u64, pub path_with_namespace: String, pub default_branch: String, // some fields omitted }
Project information exposed in hooks.
Fields
name: String
The display name of the project.
description: Option<String>
The description of the project.
web_url: String
The URL for the project's homepage.
avatar_url: Option<String>
The URL to the project avatar.
git_ssh_url: String
The URL to clone the repository over SSH.
git_http_url: String
The URL to clone the repository over HTTPS.
namespace: String
The namespace the project lives in.
visibility_level: u64
Integral value for the project's visibility.
path_with_namespace: String
The path to the project's repository with its namespace.
default_branch: String
The default branch for the project.
Trait Implementations
impl Debug for ProjectHookAttrs
[src]
impl Clone for ProjectHookAttrs
[src]
fn clone(&self) -> ProjectHookAttrs
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more